Plasp::Exception - Basic Plasp Exception Role
package My::Exception; use Moo; with 'Plasp::Exception'; # Elsewhere.. My::Exception->throw( qq/Fatal exception/ );
This is the basic Plasp Exception role which is basically a rip off of Catalyst::Exception::Basic.
Holds the exception message.
Stringifies the exception's message attribute. Called when the object is stringified by overloading.
Throws a fatal exception.
Rethrows a caught exception.
Catalyst::Exception
Catalyst::Exception::Interface
Catalyst::Exception::Basic
To install Plasp, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plasp
CPAN shell
perl -MCPAN -e shell install Plasp
For more information on module installation, please visit the detailed CPAN module installation guide.