Exception_
extends Exception
in package
Weaver Framework - Custom Exception Class
This class overrides the default Exception class and provides additional functionality for handling exceptions.
Table of Contents
Methods
- __construct() : mixed
- Constructor for the custom exception class.
Methods
__construct()
Constructor for the custom exception class.
public
__construct([string $message = "" ][, int $code = 0 ][, Exception $previous = null ]) : mixed
Parameters
- $message : string = ""
-
The error message.
- $code : int = 0
-
The error code.
- $previous : Exception = null
-
The previous exception, if any.