The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

rethrowDefault

Because there are so many different types of exception classes with different interfaces, use this to rethrow if you dont know exactly what you are getting.

 @PARAM1 somekind of monster

handleDefaults

Handles all the boring exception cases in a default way. Saving you a lot of typing.

toText

 @RETURNS String, a textual representation of this exception,
                  Full::module::package :> error message, other supplied error keys

toTextUnknown @STATIC

 @RETURNS String, a textual representation of this exception,
                 Full::module::package :> error message, other supplied error keys

toTextMojo

Returns a text representation of a Mojo::Exception