Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (16 sloc) 715 Bytes
=begin pod :kind("Type") :subkind("class") :category("exception") =TITLE class X::NoDispatcher =SUBTITLE Error due to calling a dispatch command in an ineligible scope class X::NoDispatcher is Exception { } When a redispatcher like C is called without being in the dynamic scope of a call where a redispatch is possible, an X::NoDispatcher is thrown. For example nextsame; # In the mainline CATCH { default { put .^name, ': ', .Str } }; # OUTPUT: «X::NoDispatcher: nextsame is not in the dynamic scope of a dispatcher␤» =head1 Methods =head2 method redispatcher method redispatcher(--> Str:D) Returns the name of the redispatcher function that did not succeed. =end pod
You can’t perform that action at this time.