Class: atkErrorHandlerBase
Source Location: /errors/class.atkerrorhandlerbase.inc
Class atkErrorHandlerBase
Method Summary
| static
atkErrorHandlerObject
|
get() |
Returns an error handler by name, params are passed to the handler. |
| atkErrorHandlerBase |
__construct() |
Constructor. Params are used to pass handler specific data to the handlers. |
| void |
handle() |
Implement the handle() function in a derived class to add customized error handling |
Methods
static atkErrorHandlerObject get(
string
$handlerName, array
$params
)
|
|
Returns an error handler by name, params are passed to the handler.
Parameters:
|
string |
$handlerName: |
|
|
array |
$params: |
|
API Tags:
atkErrorHandlerBase __construct(
array
$params
)
|
|
Constructor. Params are used to pass handler specific data to the handlers.
Parameters:
API Tags:
void handle(
string
$errorMessage, string
$debugMessage
)
|
|
Implement the handle() function in a derived class to add customized error handling
Parameters:
|
string |
$errorMessage: |
|
|
string |
$debugMessage: |
|
API Tags:
Redefined in descendants as: