ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
getHandler () | |
![]() | |
__construct () | |
Constructor 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 private More... | |
getMessage () | |
setMessage ($a_message) | |
appendMessage ($a_message) | |
handlePreWhoops ($level, $message, $file, $line) | |
![]() | |
__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 | _ilErrorWriter ($errno, $errstr, $errfile, $errline) |
This is used in Soap calls to write PHP error in ILIAS Logfile Not used yet!!! More... | |
![]() | |
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... | |
![]() | |
$DEBUG_ENV | |
$FATAL | |
$WARNING | |
$MESSAGE | |
![]() | |
$_debug = false | |
$_default_error_mode = null | |
$_default_error_options = null | |
$_default_error_handler = '' | |
$_error_class = 'PEAR_Error' | |
$_expected_errors = array() | |
![]() | |
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 | $whoops_handlers_registered = false |
Definition at line 6 of file class.ilSetupErrorHandling.php.
ilSetupErrorHandling::getHandler | ( | ) |
Definition at line 11 of file class.ilSetupErrorHandling.php.
References $ilLog, and ilErrorHandling\devmodeHandler().