Class yii\queue\InvalidJobException

Inheritanceyii\queue\InvalidJobException » Exception
Available since version2.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.

Method Details

__construct() public method

public void __construct ( $serialized, $message '', $code 0, Throwable $previous null )
$serialized string
$message string
$code integer
$previous Throwable|null
getSerialized() public method

public string getSerialized ( )
return string

Of serialized message that cannot be unserialized to a job