Moose::Error::Default - Carp based error generation for Moose.
version 2.1004
This class implements Carp based error generation.
The default behavior is like Moose::Error::Confess. To override this to default to Moose::Error::Croak's behaviour on a system wide basis, set the MOOSE_ERROR_STYLE environment variable to croak. The use of this environment variable is considered experimental, and may change in a future release.
croak
Create a new error. Delegates to create_error_confess or create_error_croak.
create_error_confess
create_error_croak
Creates a new errors string of the specified style.
Moose is maintained by the Moose Cabal, along with the help of many contributors. See "CABAL" in Moose and "CONTRIBUTORS" in Moose for details.
This software is copyright (c) 2013 by Infinity Interactive, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Moose
CPAN shell
perl -MCPAN -e shell install Moose
For more information on module installation, please visit the detailed CPAN module installation guide.