Final Class Yiisoft\Queue\Provider\ChannelNotFoundException
| Inheritance | Yiisoft\Queue\Provider\ChannelNotFoundException » LogicException |
|---|---|
| Implements | Yiisoft\Queue\Provider\QueueProviderException |
Thrown when the channel is not found.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Queue\Provider\ChannelNotFoundException |
Method Details
| 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,
);
}
Signup or Login in order to comment.