0 follower

Final Class Yiisoft\Queue\Provider\ChannelNotFoundException

InheritanceYiisoft\Queue\Provider\ChannelNotFoundException » LogicException
ImplementsYiisoft\Queue\Provider\QueueProviderException

Thrown when the channel is not found.

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( string|\BackedEnum $channel, integer $code 0, Throwable|null $previous null )
$channel string|\BackedEnum
$code integer
$previous Throwable|null

                public function __construct(string|BackedEnum $channel, int $code = 0, ?Throwable $previous = null)
{
    parent::__construct(
        sprintf('Channel "%s" not found.', ChannelNormalizer::normalize($channel)),
        $code,
        $previous,
    );
}