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 |
package MyPackage; use metaclass ( metaclass => 'Moose::Meta::Class', error_class => 'DE_EPAGES::Core::API::MooseError', ); use Moose; has 'Bool', 'isa' => 'Bool', 'is' => 'rw'; # some moose code. no Moose; |
Functions
new
Constructor called by Moose::Meta::Class. Creates an epages error object
Syntax |
$class->new( %args ); |
Input |
|
Return |
|