class JobErrorHandler (View source)

Class used to handle errors for a single job

Methods

public
__construct()

No description

public
clear()

No description

public
handleException($exception)

For logging and catching exceptions thrown during AbstractQueuedJob::process() and similar.

public
handleError($errno, $errstr, $errfile, $errline)

Works like the core Silverstripe error handler without exiting on fatal messages.

Details

__construct()

No description

clear()

No description

handleException($exception)

For logging and catching exceptions thrown during AbstractQueuedJob::process() and similar.

Parameters

$exception

handleError($errno, $errstr, $errfile, $errline)

Works like the core Silverstripe error handler without exiting on fatal messages.

Parameters

$errno
$errstr
$errfile
$errline