UnregisteredChannelException
final class UnregisteredChannelException extends ChannelException
Handles exceptions related to unregistered channels. Extends the ChannelException class.
Methods
__construct(string $channel, string $message = '', Throwable|null $previous = null)
Create a channel-scoped notification exception.
from
ChannelException
Details
in
ChannelException at line 25
__construct(string $channel, string $message = '', Throwable|null $previous = null)
Create a channel-scoped notification exception.
The final exception message is prefixed with the channel in square brackets, e.g. "[mail] Transport unavailable". The channel name is also stored on the exception as a readonly property for structured logging.