class X::Channel::SendOnClosed {}

This exception is thrown when a calling send on a Channel that has been closed:

my $s =;
CATCH { default { put .^name''.Str } };
# OUTPUT: «X::Channel::SendOnClosed: Cannot send a message on a closed channel␤»


method channel§

method Channel(X::Channel::SendOnClosed:D: --> Channel:D)

Returns the Channel object on which the send method was called.


Type relations for X::Channel::SendOnClosed
raku-type-graph X::Channel::SendOnClosed X::Channel::SendOnClosed Exception Exception X::Channel::SendOnClosed->Exception Mu Mu Any Any Any->Mu Exception->Any

Expand chart above