Handle error
| package | sso\lib |
|---|
addError(string $error)
stringError message
disable()
dontIgnoreExceptionAndError()
handleError(integer $errno, string $errstr, string $errfile, \sso\number $errline, array $errcontext)
integererror number
stringerror message
stringfile of the error
\sso\numberline number of the error
arraycontext of the error
handleException(\Exception $exception)
\Exception
ignoreError()
ignoreException()
init()
dumpArg(mixed $arg) : string
mixedcan be anything
stringa string that represent the argumentfixEncoding(string $s) : string
Some errors are in a different charset if the error came from a native system error.
stringthe message in unknown charset
stringthe message in SSO charsethidePasswordInStack(\sso\Exception|array<mixed,mixed> $exception)
\sso\Exceptionarray<mixed,mixed>Exception or stack returned by debug_backtrace()
stopAndDisplayErrors()
$ERRORS : array<mixed,string>
array()$active : boolean
FALSE$ignoreError : boolean
FALSE$ignoreException : boolean
FALSESUBERROR_PREFIX = ' ' : string