-
interface mle86\WQ\Exception\WQException
All WQ Exceptions implement this empty interface.-
class mle86\WQ\Exception\OptionValueException extends \InvalidArgumentException
Thrown byWorkProcessor::setOption
andWorkProcessor::setOptions
in case of an invalid option value. -
class mle86\WQ\Exception\UnserializationException extends \UnexpectedValueException
Thrown byQueueEntry::fromSerializedJob()
in case of invalid job data:- invalid serialization
- non-object
- object, but not a Job implementation
-
class mle86\WQ\Exception\UnserializationException extends \UnexpectedValueException
Thrown byWorkProcessor::processNextJob
if the job callback returns an unexpected value (it should be aJobResult
constant ornull
or void).
-
-
interface mle86\WQ\Exception\WQConnectionException extends WQException
Thrown byWorkServerAdapter
implementations if there is a connection problem (e.g. lost connection or unable to connect).