DefaultErrorHandler
in
Class DefaultErrorHandler
Table of Contents
- handleError() : bool
- handleException() : void
- shutdown() : void
- Check for last error and handles it. This needs to be down for some fatal errors like execution time out etc.
Methods
handleError()
public
handleError(int $errorCode, string $errorMessage, string $errorFile, int $errorLine, array<string|int, mixed> $errorContext) : bool
Parameters
- $errorCode : int
- $errorMessage : string
- $errorFile : string
- $errorLine : int
- $errorContext : array<string|int, mixed>
Return values
bool —handleException()
public
handleException(Throwable $exception) : void
Parameters
- $exception : Throwable
Return values
void —shutdown()
Check for last error and handles it. This needs to be down for some fatal errors like execution time out etc.
public
shutdown() : void