InfoException
extends Exception
in package
An exception with additonal information for the ErrorHander.
Named "InfoException" instead of "\Sledgehammer\Exception" to prevent catch issues.
For details see:
Tags
Table of Contents
- $information : mixed
- The additional information for the ErrorHandler.
- __construct() : mixed
- Constructor.
- getInformation() : mixed
- Returns the additional error information.
Properties
$information
The additional information for the ErrorHandler.
private
mixed
$information
Methods
__construct()
Constructor.
public
__construct(string $message, mixed $information, int $code[, Exception $previous = null ]) : mixed
Parameters
- $message : string
-
The Exception message to throw.
- $information : mixed
-
The additional information for the ErrorHandler
- $code : int
-
The Exception code.
- $previous : Exception = null
-
The previous exception used for the exception chaining.
Return values
mixed —getInformation()
Returns the additional error information.
public
getInformation() : mixed