Class yii\queue\InvalidJobException
Inheritance | yii\queue\InvalidJobException » Exception |
---|---|
Available since version | 2.1.1 |
Source Code | https://github.com/yiisoft/yii2-queue/blob/master/InvalidJobException.php |
Invalid Job Exception.
Throws when serialized message cannot be unserialized to a job.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | yii\queue\InvalidJobException | |
getSerialized() | yii\queue\InvalidJobException |
Method Details
public void __construct ( $serialized, $message = '', $code = 0, Throwable $previous = null ) | ||
$serialized | string | |
$message | string | |
$code | integer | |
$previous | Throwable|null |
public string getSerialized ( ) | ||
return | string | Of serialized message that cannot be unserialized to a job |
---|