0

Final Class Yiisoft\Queue\Message\Handler\HandlerNotFoundException

InheritanceYiisoft\Queue\Message\Handler\HandlerNotFoundException » LogicException

Thrown when a handler for the given message type is not found.

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( string $messageType, integer $code 0, ?\Throwable $previous null )
$messageType string
$code integer
$previous ?\Throwable

                public function __construct(string $messageType, int $code = 0, ?Throwable $previous = null)
{
    parent::__construct(
        sprintf('Queue handler for message type "%s" does not exist.', $messageType),
        $code,
        $previous,
    );
}