UnhandledException
extends Exception
in package
Exception class for unhandled exceptions.
This exception is thrown when an unhandled exception occurs in the application. It extends the base Exception class and provides a more descriptive message for unhandled exceptions. The original exception message can be retrieved using the getMessage() method of the base Exception class. This class does not add any specific error code.
Tags
Table of Contents
- __construct() : mixed
- Constructor for the UnhandledException.
Methods
__construct()
Constructor for the UnhandledException.
public
__construct(string $message[, Exception|null $previous = null ]) : mixed
Parameters
- $message : string
-
The error message.
- $previous : Exception|null = null
-
The previous exception used for chaining.