ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($exception) | |
getException () | |
getExceptionName () | |
getExceptionMessage () | |
getExceptionDocrefUrl () | |
Returns a url to the php-manual related to the underlying error - when available. More... | |
hasPreviousException () | |
Does the wrapped Exception has a previous Exception? More... | |
getPreviousExceptionInspector () | |
Returns an Inspector for a previous Exception, if any. More... | |
getFrames () | |
Returns an iterator for the inspected exception's frames. More... | |
Protected Member Functions | |
getTrace ($e) | |
Gets the backtrace from an exception. More... | |
getFrameFromException ($exception) | |
Given an exception, generates an array in the format generated by Exception::getTrace() More... | |
getFrameFromError (ErrorException $exception) | |
Given an error, generates an array in the format generated by ErrorException. More... | |
isValidNextFrame (array $frame) | |
Determine if the frame can be used to fill in previous frame's missing info happens for call_user_func and call_user_func_array usages (PHP Bug #44428) More... | |
Private Member Functions | |
extractDocrefUrl ($message) | |
Private Attributes | |
$exception | |
$frames | |
$previousExceptionInspector | |
Definition at line 11 of file Inspector.php.
Whoops\Exception\Inspector::__construct | ( | $exception | ) |
\Throwable | $exception | The exception to inspect |
Definition at line 31 of file Inspector.php.
References Whoops\Exception\Inspector\$exception.
|
private |
Definition at line 70 of file Inspector.php.
References $message.
Referenced by Whoops\Exception\Inspector\getExceptionDocrefUrl(), and Whoops\Exception\Inspector\getExceptionMessage().
Whoops\Exception\Inspector::getException | ( | ) |
Definition at line 39 of file Inspector.php.
References Whoops\Exception\Inspector\$exception.
Referenced by Whoops\Exception\Formatter\formatExceptionPlain().
Whoops\Exception\Inspector::getExceptionDocrefUrl | ( | ) |
Returns a url to the php-manual related to the underlying error - when available.
Definition at line 65 of file Inspector.php.
References Whoops\Exception\Inspector\extractDocrefUrl().
Whoops\Exception\Inspector::getExceptionMessage | ( | ) |
Definition at line 55 of file Inspector.php.
References Whoops\Exception\Inspector\extractDocrefUrl().
Whoops\Exception\Inspector::getExceptionName | ( | ) |
Definition at line 47 of file Inspector.php.
Referenced by Whoops\Exception\Formatter\formatExceptionPlain().
|
protected |
Given an error, generates an array in the format generated by ErrorException.
ErrorException | $exception |
Definition at line 243 of file Inspector.php.
|
protected |
Given an exception, generates an array in the format generated by Exception::getTrace()
\Throwable | $exception |
Definition at line 225 of file Inspector.php.
References Whoops\Exception\Inspector\$exception.
Referenced by Whoops\Exception\Inspector\getFrames().
Whoops\Exception\Inspector::getFrames | ( | ) |
Returns an iterator for the inspected exception's frames.
Definition at line 125 of file Inspector.php.
References Whoops\Exception\Inspector\$frames, $i, Whoops\Exception\Inspector\getFrameFromException(), Whoops\Exception\Inspector\getPreviousExceptionInspector(), Whoops\Exception\Inspector\getTrace(), and Whoops\Exception\Inspector\isValidNextFrame().
Referenced by Whoops\Exception\Formatter\formatExceptionPlain().
Whoops\Exception\Inspector::getPreviousExceptionInspector | ( | ) |
Returns an Inspector for a previous Exception, if any.
Definition at line 107 of file Inspector.php.
References Whoops\Exception\Inspector\$previousExceptionInspector.
Referenced by Whoops\Exception\Inspector\getFrames().
|
protected |
Gets the backtrace from an exception.
If xdebug is installed
\Throwable | $exception |
Definition at line 194 of file Inspector.php.
References Whoops\Util\Misc\isLevelFatal().
Referenced by Whoops\Exception\Inspector\getFrames().
Whoops\Exception\Inspector::hasPreviousException | ( | ) |
Does the wrapped Exception has a previous Exception?
Definition at line 97 of file Inspector.php.
|
protected |
Determine if the frame can be used to fill in previous frame's missing info happens for call_user_func and call_user_func_array usages (PHP Bug #44428)
array | $frame |
Definition at line 260 of file Inspector.php.
Referenced by Whoops\Exception\Inspector\getFrames().
|
private |
Definition at line 16 of file Inspector.php.
Referenced by Whoops\Exception\Inspector\__construct(), Whoops\Exception\Inspector\getException(), and Whoops\Exception\Inspector\getFrameFromException().
|
private |
Definition at line 21 of file Inspector.php.
Referenced by Whoops\Exception\Inspector\getFrames().
|
private |
Definition at line 26 of file Inspector.php.
Referenced by Whoops\Exception\Inspector\getPreviousExceptionInspector().