|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Inheritance diagram for ilSetupErrorHandling:
Collaboration diagram for ilSetupErrorHandling:Public Member Functions | |
| getHandler () | |
Get a handler for an error or exception.Uses Whoops Pretty Page Handler in DEVMODE and the legacy ILIAS-Error handlers otherwise.
| |
Public Member Functions inherited from ilErrorHandling | |
| __construct () | |
| Constructor @access public. More... | |
| getHandler () | |
| Get a handler for an error or exception. More... | |
| getLastError () | |
| errorHandler ($a_error_obj) | |
| defines what has to happen in case of error @access private More... | |
| getMessage () | |
| setMessage ($a_message) | |
| appendMessage ($a_message) | |
| handlePreWhoops ($level, $message, $file, $line) | |
Public Member Functions inherited from PEAR | |
| __construct ($error_class=null) | |
| Constructor. More... | |
| _PEAR () | |
| Destructor (the emulated type of...). More... | |
| registerShutdownFunc ($func, $args=array()) | |
| Use this function to register a shutdown method for static classes. More... | |
| isError ($data, $code=null) | |
| Tell whether a value is a PEAR error. More... | |
| expectError ($code=' *') | |
| This method is used to tell which errors you expect to get. More... | |
| popExpect () | |
| This method pops one element off the expected error codes stack. More... | |
| _checkDelExpect ($error_code) | |
| This method checks unsets an error code if available. More... | |
| delExpect ($error_code) | |
| This method deletes all occurences of the specified element from the expected error codes stack. More... | |
| & | raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) |
| This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. More... | |
| & | throwError ($message=null, $code=null, $userinfo=null) |
| Simpler form of raiseError with fewer options. More... | |
| staticPushErrorHandling ($mode, $options=null) | |
| staticPopErrorHandling () | |
| pushErrorHandling ($mode, $options=null) | |
| Push a new error handler on top of the error handler options stack. More... | |
| popErrorHandling () | |
| Pop the last error handler used. More... | |
| loadExtension ($ext) | |
| OS independant PHP extension load. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilErrorHandling | |
| static | _ilErrorWriter ($errno, $errstr, $errfile, $errline) |
| This is used in Soap calls to write PHP error in ILIAS Logfile Not used yet!!! More... | |
Static Public Member Functions inherited from PEAR | |
| static & | getStaticProperty ($class, $var) |
| If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. More... | |
| static | setErrorHandling ($mode=null, $options=null) |
| Sets how errors generated by this object should be handled. More... | |
Data Fields inherited from ilErrorHandling | |
| $DEBUG_ENV | |
| $FATAL | |
| $WARNING | |
| $MESSAGE | |
Data Fields inherited from PEAR | |
| $_debug = false | |
| $_default_error_mode = null | |
| $_default_error_options = null | |
| $_default_error_handler = '' | |
| $_error_class = 'PEAR_Error' | |
| $_expected_errors = array() | |
Protected Member Functions inherited from ilErrorHandling | |
| initWhoopsHandlers () | |
| Initialize Error and Exception Handlers. More... | |
| getIlRuntime () | |
| Get ilRuntime. More... | |
| getWhoops () | |
| Get an instance of Whoops/Run. More... | |
| isDevmodeActive () | |
| Is the DEVMODE switched on? More... | |
| defaultHandler () | |
| Get a default error handler. More... | |
| devmodeHandler () | |
| Get the handler to be used in DEVMODE. More... | |
Static Protected Attributes inherited from ilErrorHandling | |
| static | $whoops_handlers_registered = false |
Definition at line 6 of file class.ilSetupErrorHandling.php.
| ilSetupErrorHandling::getHandler | ( | ) |
Get a handler for an error or exception.Uses Whoops Pretty Page Handler in DEVMODE and the legacy ILIAS-Error handlers otherwise.
Reimplemented from ilErrorHandling.
Definition at line 10 of file class.ilSetupErrorHandling.php.
References $ilLog, and ilErrorHandling\devmodeHandler().
Here is the call graph for this function: