Moose::Error::Default(3pm)

Moose::Error::Default3pm

Carp based error generation for moose.

Version

version 2.0603

Overview

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.

Methods

Moose::Error::Default->new(@args)

Create a new error. Delegates to "create_error_confess" or "create_error_croak".

$error->create_error_confess(@args)
$error->create_error_croak(@args)

Creates a new errors string of the specified style.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Author

Moose is maintained by the Moose Cabal, along with the help of many contributors. See "CABAL" in Moose and "CONTRIBUTORS" in Moose for details.

From libmoose-perl 2.0603-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.