JobErrorHandler
class JobErrorHandler (View source)
Class used to handle errors for a single job
Methods
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.
handleError($errno, $errstr, $errfile, $errline)
Works like the core Silverstripe error handler without exiting on fatal messages.