|
1C-Bitrix 25.700.0
|
Открытые члены | |
| __construct () | |
| setDebugMode ($debug) | |
| setOverflowMemoryCatching ($catchOverflowMemory) | |
| setHandledErrorsTypes ($handledErrorsTypes) | |
| getTrackModules () | |
| setTrackModules (array $trackModules) | |
| setAssertionErrorType ($assertionErrorType) | |
| setAssertionThrowsException ($assertionThrowsException) | |
| setExceptionErrorsTypes ($errorTypesException) | |
| setIgnoreSilence ($ignoreSilence) | |
| setHandlerLog (ExceptionHandlerLog $handlerLog=null) | |
| setHandlerOutput (IExceptionHandlerOutput $handlerOutput) | |
| initialize ($exceptionHandlerOutputCreator, $exceptionHandlerLogCreator=null) | |
| handleException ($exception, $logType=ExceptionHandlerLog::UNCAUGHT_EXCEPTION) | |
| handleError ($code, $message, $file, $line) | |
| handleAssertion ($file, $line, $message) | |
| handleFatalError () | |
| writeToLog ($exception, $logType=null) | |
Защищенные члены | |
| initializeEnvironment () | |
| getHandlerOutput () | |
| getHandlerLog () | |
См. определение в файле exceptionhandler.php строка 5
| __construct | ( | ) |
ExceptionHandler constructor.
См. определение в файле exceptionhandler.php строка 29
|
protected |
Returns an object for error message writing to log.
См. определение в файле exceptionhandler.php строка 201
|
protected |
Returns an object used for error message display to user.
См. определение в файле exceptionhandler.php строка 182
| getTrackModules | ( | ) |
См. определение в файле exceptionhandler.php строка 73
| handleAssertion | ( | $file, | |
| $line, | |||
| $message ) |
Creates and exception object from its arguments. Throws it if assertion set to raise exception (which is by default) or writes it to log.
| string | $file | File where error has occurred. |
| integer | $line | File line number where error has occurred. |
| string | $message | Error message. |
ErrorException
См. определение в файле exceptionhandler.php строка 355
| handleError | ( | $code, | |
| $message, | |||
| $file, | |||
| $line ) |
Creates and exception object from its arguments. Throws it if $code matches exception mask or writes it into log.
| integer | $code | Error code. |
| string | $message | Error message. |
| string | $file | File where error has occurred. |
| integer | $line | File line number where error has occurred. |
ErrorException
См. определение в файле exceptionhandler.php строка 291
| handleException | ( | $exception, | |
| $logType = ExceptionHandlerLog::UNCAUGHT_EXCEPTION ) |
Writes exception information into log, displays it to user and terminates with die().
| \Exception | \Error | $exception | Exception object. |
| int | $logType |
См. определение в файле exceptionhandler.php строка 270
| handleFatalError | ( | ) |
Gets error information from error_get_last() function. Checks if type for certain error types and writes it to log.
См. определение в файле exceptionhandler.php строка 377
| initialize | ( | $exceptionHandlerOutputCreator, | |
| $exceptionHandlerLogCreator = null ) |
Initializes error handling. Must be called after the object creation.
| callable | $exceptionHandlerOutputCreator | Function to return an object for error message formatting. |
| callable | null | $exceptionHandlerLogCreator | Function to return an object for log writing. |
См. определение в файле exceptionhandler.php строка 224
|
protected |
Adjusts PHP for error handling.
См. определение в файле exceptionhandler.php строка 162
| setAssertionErrorType | ( | $assertionErrorType | ) |
Sets assertion types to be handled.
| integer | $assertionErrorType | Bitmask of assertion types. |
См. определение в файле exceptionhandler.php строка 91
| setAssertionThrowsException | ( | $assertionThrowsException | ) |
Whenever to throw an exception on assertion or not.
| boolean | $assertionThrowsException | If true an assertion will throw exception. |
См. определение в файле exceptionhandler.php строка 103
| setDebugMode | ( | $debug | ) |
Sets debug mode. Should be used for development install.
| boolean | $debug | If true errors will be displayed in html output. If false most errors will be suppressed. |
См. определение в файле exceptionhandler.php строка 43
| setExceptionErrorsTypes | ( | $errorTypesException | ) |
Sets which errors will raise an exception.
| integer | $errorTypesException | Bitmask of error types. |
См. определение в файле exceptionhandler.php строка 116
| setHandledErrorsTypes | ( | $handledErrorsTypes | ) |
Sets error types to be handled.
| integer | $handledErrorsTypes | Bitmask of error types. |
См. определение в файле exceptionhandler.php строка 68
| setHandlerLog | ( | ExceptionHandlerLog | $handlerLog = null | ) |
Sets logger object to use for log writing.
| ExceptionHandlerLog | null | $handlerLog | Logger object. |
См. определение в файле exceptionhandler.php строка 140
| setHandlerOutput | ( | IExceptionHandlerOutput | $handlerOutput | ) |
Sets an object used for error message display to user.
| IExceptionHandlerOutput | $handlerOutput | Object will display errors to user. |
См. определение в файле exceptionhandler.php строка 152
| setIgnoreSilence | ( | $ignoreSilence | ) |
Whenever to ignore error_reporting() == 0 or not.
| boolean | $ignoreSilence | If true then error_reporting()==0 will be ignored. |
См. определение в файле exceptionhandler.php строка 128
| setOverflowMemoryCatching | ( | $catchOverflowMemory | ) |
Whenever to try catch and report memory overflows errors or not.
| boolean | $catchOverflowMemory | If true memory overflow errors will be handled. |
См. определение в файле exceptionhandler.php строка 55
| setTrackModules | ( | array | $trackModules | ) |
См. определение в файле exceptionhandler.php строка 78
| writeToLog | ( | $exception, | |
| $logType = null ) |
Writes an exception information to log.
| \Throwable | $exception | Exception object. |
| integer | null | $logType | See ExceptionHandlerLog class constants. |
См. определение в файле exceptionhandler.php строка 402