Package DE_EPAGES::Core::API::MooseError
Error handling for Exceptions raised by Moose. It uses the error code "MooseDie". To use it, you have to assign it to the error_class handler in your moose package.
Example |
use Moose; has 'Bool', 'isa' => 'Bool', 'is' => 'rw'; # some moose code. no Moose; __PACKAGE__->meta->error_class('DE_EPAGES::Core::API::MooseError'); __PACKAGE__->meta->make_immutable; |
Functions
new
Constructor called by Moose::Meta::Class. Creates an epages error object
Syntax |
$class->new( %args ); |
Input |
|
Return |
|