Public Member Functions | |
| __construct (bool $greedy=true) | |
| beGreedy () | |
| beLazy () | |
| handleException ($obj) | |
| handleHttpError ($code) | |
| handlePhpError ($code, $message, $file, $line) | |
| null () | |
| renderSfe ($obj) | |
| setCss ($css) | |
Static Public Member Functions | |
| static | errorCodeToString ($code) |
| static | getInstance () |
Static Public Attributes | |
| static | $instance |
Protected Member Functions | |
| clearOutputBuffers () | |
| render ($trigger, $message, $code=null, $file=null, $line=null, $stacktrace=null) | |
| renderHtml ($trigger, $message, $code=null, $file=null, $line=null, $stacktrace=null) | |
| libAllure\ErrorHandler::__construct | ( | bool | $greedy = true | ) |
Constructs the new class.
| $greedy | Whether or not this class can be greedy: is allowed to capture all types of errors that it can bind to. |
|
static |
|
protected |
Print the error out.
| $trigger | What triggored this error. |
| $message | The message for the error. |
| $code | The code for the error. |
| $file | The file that this error came from. |
| $line | The line that this error came from. |
| $stacktrace | A stacktrace leading up to this error ( should be a array). |