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

NAME

Moose::Error::Default - Carp based error generation for Moose.

DESCRIPTION

This class implements Carp based error generation.

The default behavior is like Moose::Error::Confess.

METHODS

new @args

Create a new error. Delegates to create_error_confess.

create_error_confess @args
create_error_croak @args

Creates a new errors string of the specified style.