SproutCMS

This is the code documentation for the SproutCMS project

class WorkerJobException

Exception thrown when a database query fails, or gives an empty result set
for a query which required a row to be returned

Source code (4 results)

/sprout/Controllers/Admin/FileAdminController.php   Highlighted file source

Line 22: use Sprout\Exceptions\WorkerJobException;
Line 1510: } catch (WorkerJobException $ex) {

/sprout/Controllers/Admin/PageAdminController.php   Highlighted file source

Line 25: use Sprout\Exceptions\WorkerJobException;
Line 2543: } catch (WorkerJobException $ex) {

/sprout/Exceptions/WorkerJobException.php   Highlighted file source

Line 22: class WorkerJobException extends Exception

/sprout/Helpers/WorkerCtrl.php   Highlighted file source

Line 20: use Sprout\Exceptions\WorkerJobException;
Line 42: * @throws WorkerJobException If the job failed to start
Line 96: throw new WorkerJobException('Unable to find working PHP binary, which is needed for executing background tasks');
Line 102: throw new WorkerJobException('Found a PHP binary, but it\'s a CGI binary; CLI binary required for executing background tasks');
Line 113: $ex = new WorkerJobException('Failed to start process');
Line 135: $ex = new WorkerJobException($err);

A total of 11 lines in 4 files were found