Moose::Manual::Exceptions::Manifest(3) User Contributed Perl Documentation Moose::Manual::Exceptions::Manifest(3)

Moose::Manual::Exceptions::Manifest - Moose's Exception Types

version 2.2012

This document contains a manifest of all the exception classes that are thrown as Moose internal errors.

Unless otherwise stated, all classes are subclasses of Moose::Exception.

Similarly, all classes provide the following attribute reader methods:

This method returns the error message for the exception.

This method returns a Devel::StackTrace object.

Moose ships with the following exception classes:

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->role_to_be_added()

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        
  • $exception->role_to_be_added()

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->param()
  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->class()

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        
  • $exception->second_role_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::AttributeName and Moose::Exception::Role::Role roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        
  • $exception->second_role_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->attribute_init_arg()

    Returns a Str value.

  • $exception->attribute_name()

    Returns a Str value.

    This attribute can be used for fetching attribute instance:

        my $class = Moose::Util::find_meta( $exception->class_name );
        my $attribute = $class->get_attribute( $exception->attribute_name );
        
  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->attribute()
  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->attribute_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->given_value()
  • $exception->instance()

    Returns an Object value.

  • $exception->method()

    Returns a Moose::Meta::Method::Delegation object.

This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->instance()

    Returns an Object value.

  • $exception->method()

    Returns a Moose::Meta::Method::Delegation object.

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->option_name()

    Returns a Str value.

  • $exception->option_value()

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->instance()

    Returns an Object value.

This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->instance()

    Returns an Object value.

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Instance roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->builder()

    Returns a Str value.

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->instance()

    Returns an Object value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

$exception->method_name()

Returns a Str value.

This class has the following methods:

$exception->method_name()

Returns a Str value.

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

$exception->role_name()

Returns a Str value.

This attribute can be used for fetching the class's metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
    

This class has the following methods:

$exception->role_name()

Returns a Str value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->code()
  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, Moose::Exception::Role::InstanceClass, and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->instance()

    Returns an Object value.

  • $exception->instance_class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, and Moose::Exception::Role::InstanceClass roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->instance()

    Returns an Object value.

  • $exception->instance_class()

    Returns a Str value.

This class has the following methods:

$exception->type_coercion_union_object()

Returns a Moose::Meta::TypeCoercion::Union object.

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->attribute_class()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::Role roles.

This class has the following methods:

  • $exception->params()

    Returns a HashRef value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::EitherAttributeOrAttributeName roles.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->params()

    Returns a HashRef value.

  • $exception->value()

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Method roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->method()

    Returns a Moose::Meta::Method object.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->method_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Attribute, Moose::Exception::Role::Instance, and Moose::Exception::Role::TypeConstraint roles.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->instance()

    Returns an Object value.

  • $exception->type_name()

    Returns a Str value.

    This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
        

This class consumes the Moose::Exception::Role::Instance role.

This class has the following methods:

$exception->instance()

Returns an Object value.

This class has the following methods:

$exception->package_name()

Returns a Str value.

This class has no attributes except for "message" and "trace()".

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::InvalidAttributeOptions, Moose::Exception::Role::ParamsHash, and Moose::Exception::Role::TypeConstraint roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

  • $exception->type_name()

    Returns a Str value.

    This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
        

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

    my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
    

This class consumes the Moose::Exception::Role::Method and Moose::Exception::Role::Role roles.

This class has the following methods:

  • $exception->aliased_method_name()

    Returns a Str value.

  • $exception->method()

    Returns a Moose::Meta::Method object.

  • $exception->role_being_applied_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Method, and Moose::Exception::Role::Role roles.

This class has the following methods:

  • $exception->aliased_method_name()

    Returns a Str value.

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->method()

    Returns a Moose::Meta::Method object.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Method roles.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->method()

    Returns a Moose::Meta::Method object.

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

$exception->attribute()

Returns a Class::MOP::Attribute object.

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

$exception->attribute()

Returns a Class::MOP::Attribute object.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This class has the following methods:

  • $exception->action()
  • $exception->to_match()
  • $exception->type()

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->metaclass_type()

    Returns a Str value.

  • $exception->superclass()

    Returns an Object value.

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

  • $exception->parameterizable_type_object_name()

    Returns a Str value.

    This attribute can be used for fetching parameterizable type constraint(Moose::Meta::TypeConstraint::Parameterizable):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
        
  • $exception->type_name()

    Returns a Str value.

    This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
        
  • $exception->value()

    Returns a Str value.

This class has the following methods:

  • $exception->args()

    Returns an ArrayRef value.

  • $exception->old_meta()
  • $exception->role_composite()

    Returns a Moose::Meta::Role::Composite object.

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

    my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
    

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->INC()

    Returns an ArrayRef value.

  • $exception->metaclass_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

  • $exception->possible_packages()

    Returns a Str value.

  • $exception->type()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->superclass_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->method_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Method roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->method()

    Returns a Moose::Meta::Method object.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->method_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class has no attributes except for "message" and "trace()".

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

  • $exception->also_parameter()

    Returns a Str value.

  • $exception->stack()

    Returns an ArrayRef value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->traits()

    Returns an ArrayRef value.

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->excluded_role_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class has the following methods:

  • $exception->class()

    Returns a Class::MOP::Class object.

  • $exception->class_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->instance()

This class consumes the Moose::Exception::Role::Instance and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->instance()

    Returns an Object value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

    my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
    

This class consumes the Moose::Exception::Role::Instance role.

This class has the following methods:

  • $exception->constraint_name()

    Returns a Str value.

  • $exception->instance()

    Returns an Object value.

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->excluded_role_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class has no attributes except for "message" and "trace()".

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->error()

    Returns a Str value.

  • $exception->option_name()

    Returns a Str value.

  • $exception->option_value()

This class consumes the Moose::Exception::Role::EitherAttributeOrAttributeName and Moose::Exception::Role::Instance roles.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->error()

    Returns a Str value.

  • $exception->instance()

    Returns an Object value.

  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

  • $exception->constructor_method()

    Returns a Class::MOP::Method::Constructor object.

  • $exception->error()

    Returns a Str value.

  • $exception->source()

    Returns a Str value.

This class has the following methods:

  • $exception->error()

    Returns a Str value.

  • $exception->method_destructor_object()

    Returns a Moose::Meta::Method::Destructor object.

  • $exception->source()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Instance role.

This class has the following methods:

  • $exception->constraint_name()

    Returns a Str value.

  • $exception->instance()

    Returns an Object value.

This class consumes the Moose::Exception::Role::Instance role.

This class has the following methods:

  • $exception->error()

    Returns a Moose::Exception|Str value.

  • $exception->instance()

    Returns an Object value.

  • $exception->option()

    Returns a Str value.

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

    my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
    

This class has the following methods:

  • $exception->position()

    Returns an Int value.

  • $exception->type()

    Returns a Str value.

This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles.

This class has the following methods:

  • $exception->attribute_class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles.

This class has the following methods:

  • $exception->attribute_class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles.

This class has the following methods:

  • $exception->attribute_class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

  • $exception->cases_to_be_matched()

    Returns an ArrayRef value.

  • $exception->default_action()
  • $exception->to_match()

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->class_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->role_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

$exception->attribute()

Returns a Class::MOP::Attribute object.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

$exception->class_name()

Returns a Str value.

This attribute can be used for fetching metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
    

This class has the following methods:

  • $exception->args()

    Returns an ArrayRef value.

  • $exception->array()

    Returns an ArrayRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

  • $exception->value()

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

$exception->class_name()

Returns a Str value.

This attribute can be used for fetching metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
    

This class consumes the Moose::Exception::Role::Instance role.

This class has the following methods:

  • $exception->given_handles()
  • $exception->instance()

    Returns an Object value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->illegal_options()

    Returns an ArrayRef value.

  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

  • $exception->class_or_object()
  • $exception->modifier_name()

    Returns a Str value.

  • $exception->params()

    Returns an ArrayRef value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_meta_type()

    Returns a Str value.

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->superclass_meta_type()

    Returns a Str value.

  • $exception->superclass_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

$exception->params()

Returns a HashRef value.

This class has the following methods:

$exception->package_name()

This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->instance()

    Returns an Object value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->instance()
  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

$exception->argument()

This class has the following methods:

  • $exception->argument()
  • $exception->argument_noun()

    Returns a Str value.

  • $exception->method_name()

    Returns a Str value.

  • $exception->ordinal()

    Returns a Str value.

  • $exception->type()

    Returns a Str value.

  • $exception->type_of_argument()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->alias()
  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->package_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

    my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
    

This class consumes the Moose::Exception::Role::Instance role.

This class has the following methods:

  • $exception->handle_value()
  • $exception->instance()

    Returns an Object value.

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class has the following methods:

$exception->name()

Returns a Str value.

This class has the following methods:

$exception->operator()

Returns a Defined value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->application()
  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        

This class has the following methods:

  • $exception->registry_object()

    Returns a Moose::Meta::TypeConstraint::Registry object.

  • $exception->type()

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

    my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
    

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::EitherAttributeOrAttributeName role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class has no attributes except for "message" and "trace()".

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

  • $exception->action()
  • $exception->to_match()
  • $exception->type_name()

    Returns a Str value.

    This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
        

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->metaclass()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->metaclass()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->metaclass()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

$exception->class_name()

Returns a Str value.

This attribute can be used for fetching metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
    

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

$exception->role_name()

Returns a Str value.

This attribute can be used for fetching the class's metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
    

This class has the following methods:

$exception->class_name()

Returns a Str value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

$exception->class_name()

Returns a Str value.

This attribute can be used for fetching metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
    

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->metaclass_type()

    Returns a Str value.

  • $exception->superclass_name()

    Returns a Str value.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->metaclass()

This class has the following methods:

  • $exception->maximum_args()

    Returns an Int value.

  • $exception->method_name()

    Returns a Str value.

This class has the following methods:

  • $exception->method_name()

    Returns a Str value.

  • $exception->minimum_args()

    Returns an Int value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

$exception->class_name()

Returns a Str value.

This attribute can be used for fetching metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
    

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->conflict()

    Returns an ArrayRef[Moose::Meta::Role::Method::Conflicting] value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->method_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

$exception->class_name()

Returns a Str value.

This attribute can be used for fetching metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
    

This class consumes the Moose::Exception::Role::Instance role.

This class has the following methods:

$exception->instance()

Returns an Object value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

$exception->class_name()

Returns a Str value.

This attribute can be used for fetching metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
    

This class consumes the Moose::Exception::Role::Instance role.

This class has the following methods:

$exception->instance()

Returns an Object value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->role()

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()
  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

  • $exception->args()

    Returns an ArrayRef value.

  • $exception->method_name()

    Returns a Str value.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->options()

    Returns an ArrayRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

$exception->role_name()

Returns a Str value.

This attribute can be used for fetching the class's metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
    

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

$exception->role_name()

Returns a Str value.

This attribute can be used for fetching the class's metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
    

This class has the following methods:

$exception->applicant()

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

  • $exception->type_coercion_union_object()

    Returns a Moose::Meta::TypeCoercion::Union object.

  • $exception->type_name()

    Returns a Str value.

    This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
        

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::InvalidAttributeOptions, and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

$exception->package_name()

Returns a Str value.

This class has the following methods:

  • $exception->cases_to_be_matched()

    Returns an ArrayRef value.

  • $exception->to_match()

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

    my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
    

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

$exception->name()

Returns a Str value.

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->instance()
  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class has the following methods:

  • $exception->overloaded_op()

    Returns a Str value.

  • $exception->role_application()

    Returns a Moose::Meta::Role::Application::RoleSummation object.

  • $exception->role_names()
  • $exception->elements()

    This attribute is an ArrayRef containing role names, if you want metaobjects associated with these role names, then call method roles on the exception object.

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->method_name()

    Returns a Str value.

  • $exception->role_being_applied_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        
  • $exception->two_overrides_found()

    Returns a Bool value.

This class has the following methods:

  • $exception->method_name()

    Returns a Str value.

  • $exception->role_application()

    Returns a Moose::Meta::Role::Application::RoleSummation object.

  • $exception->role_names()
  • $exception->elements()

    This attribute is an ArrayRef containing role names, if you want metaobjects associated with these role names, then call method roles on the exception object.

  • $exception->two_overrides_found()

    Returns a Bool value.

This class has the following methods:

  • $exception->is_loaded()

    Returns a Bool value.

  • $exception->package()

    Returns a Str value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->code()

    Returns a CodeRef value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->is_module()

    Returns a Bool value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

  • $exception->type_name()

    Returns a Str value.

    This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
        
  • $exception->type_parameter()

    Returns a Str value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->imported_method()

    Returns a Moose::Meta::Role::Method::Required object.

  • $exception->missing_methods()

    Returns an ArrayRef[Moose::Meta::Role::Method::Required] value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles.

This class has the following methods:

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->missing_methods()

    Returns an ArrayRef[Moose::Meta::Role::Method::Required] value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->excluded_role_name()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        
  • $exception->second_role_name()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        
  • $exception->roles()

    Returns an ArrayRef value.

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

$exception->class_name()

Returns a Str value.

This attribute can be used for fetching metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
    

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

$exception->role_name()

Returns a Str value.

This attribute can be used for fetching the class's metaclass instance:

    my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
    

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class has no attributes except for "message" and "trace()".

This class consumes the Moose::Exception::Role::Role role.

This class has the following methods:

  • $exception->modifier_type()

    Returns a Str value.

  • $exception->role_name()

    Returns a Str value.

    This attribute can be used for fetching the class's metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
        

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

$exception->params()

Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

  • $exception->role()

This class has no attributes except for "message" and "trace()".

This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

  • $exception->parent_type_name()

    Returns a Str value.

    This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->parent_type_name );
        
  • $exception->type_name()

    Returns a Str value.

    This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
        

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

  • $exception->package_defined_in()

    Returns a Str value.

  • $exception->type_name()

    Returns a Str value.

    This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

        my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
        

This class consumes the Moose::Exception::Role::TypeConstraint role.

This class has the following methods:

$exception->type_name()

Returns a Str value.

This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):

    my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
    

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->handles()

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->handles()

    Returns a Str value.

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->delegate_metaclass()

This class has the following methods:

  • $exception->hash_keys()

    Returns an ArrayRef value.

  • $exception->method_name()

    Returns a Str value.

This class has the following methods:

  • $exception->args()

    Returns an ArrayRef value.

  • $exception->array()

    Returns an ArrayRef value.

This class has no attributes except for "message" and "trace()".

This class consumes the Moose::Exception::Role::Class role.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->class_name()

    Returns a Str value.

    This attribute can be used for fetching metaclass instance:

        my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
        
  • $exception->new_member()

    Returns a Bool value.

  • $exception->type_constraint_message()

    Returns a Str value.

  • $exception->value()

This class consumes the Moose::Exception::Role::Attribute role.

This class has the following methods:

  • $exception->attribute()

    Returns a Class::MOP::Attribute object.

  • $exception->type()

    Returns a Moose::Util::TypeConstraints value.

  • $exception->value()

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->class()

    Returns a Str value.

  • $exception->code()
  • $exception->params()

    Returns a HashRef value.

This class consumes the Moose::Exception::Role::ParamsHash role.

This class has the following methods:

  • $exception->attribute_name()

    Returns a Str value.

  • $exception->given_type()

    Returns a Str value.

  • $exception->params()

    Returns a HashRef value.

  • $exception->required_type()

    Returns a Str value.

This software is copyright (c) 2006 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.

2019-11-22 perl v5.34.0