\Phile\ServiceLocatorErrorHandlerInterface

Interface ErrorHandlerInterface

Summary

Methods
Constants
handleError()
handleException()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

handleError()

handleError(int $errno, string $errstr, string $errfile, int $errline, array $errcontext) : boolean

handle the error

Parameters

int $errno
string $errstr
string $errfile
int $errline
array $errcontext

Returns

boolean

handleException()

handleException(\Exception $exception) : mixed

handle all exceptions

Parameters

\Exception $exception

Returns

mixed