---
name: "Moose::Manual::Exceptions::Manifest"
section: "3pm"
platform: "linux"
package: "perl-moose"
version: "2.4001-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Moose::Manual::Exceptions::Manifest"
---

# Moose::Manual::Exceptions::Manifest(3pm)

Moose's Exception Types

## NAME

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

## VERSION

version 2.4001

## DESCRIPTION

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

## COMMON ELEMENTS

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

Similarly, all classes provide the following attribute reader methods:

### $exception-\>message

This method returns the error message for the exception.

### $exception-\>trace

This method returns a Devel::StackTrace object.

## EXCEPTION CLASSES

Moose ships with the following exception classes:

### Moose::Exception::AccessorMustReadWrite

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.

### Moose::Exception::AddParameterizableTypeTakesParameterizableType

This class has the following methods:

- •

  `$exception`-\>**type\_name()**

  Returns a Str value.

### Moose::Exception::AddRoleTakesAMooseMetaRoleInstance

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()**

### Moose::Exception::AddRoleToARoleTakesAMooseMetaRole

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()**

### Moose::Exception::ApplyTakesABlessedInstance

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 );
  ```

### Moose::Exception::AttachToClassNeedsAClassMOPClassInstanceOrASubclass

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()**

### Moose::Exception::AttributeConflictInRoles

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.

### Moose::Exception::AttributeConflictInSummation

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.

### Moose::Exception::AttributeExtensionIsNotSupportedInRoles

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 );
  ```

### Moose::Exception::AttributeIsRequired

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.

### Moose::Exception::AttributeMustBeAnClassMOPMixinAttributeCoreOrSubclass

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 );
  ```

### Moose::Exception::AttributeNamesDoNotMatch

This class has the following methods:

- •

  `$exception`-\>**attribute()**

  Returns a Class::MOP::Attribute object.

- •

  `$exception`-\>**attribute\_name()**

  Returns a Str value.

### Moose::Exception::AttributeValueIsNotAnObject

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.

### Moose::Exception::AttributeValueIsNotDefined

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.

### Moose::Exception::AutoDeRefNeedsArrayRefOrHashRef

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.

### Moose::Exception::BadOptionFormat

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()**

### Moose::Exception::BothBuilderAndDefaultAreNotAllowed

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.

### Moose::Exception::BuilderDoesNotExist

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.

### Moose::Exception::BuilderMethodNotSupportedForAttribute

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.

### Moose::Exception::BuilderMethodNotSupportedForInlineAttribute

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.

### Moose::Exception::BuilderMustBeAMethodName

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.

### Moose::Exception::CallingMethodOnAnImmutableInstance

This class has the following methods:

- •

  `$exception`-\>**method\_name()**

  Returns a Str value.

### Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance

This class has the following methods:

- •

  `$exception`-\>**method\_name()**

  Returns a Str value.

### Moose::Exception::CanExtendOnlyClasses

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 );
  ```

### Moose::Exception::CanOnlyConsumeRole

This class has the following methods:

- •

  `$exception`-\>**role\_name()**

  Returns a Str value.

### Moose::Exception::CanOnlyWrapBlessedCode

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.

### Moose::Exception::CanReblessOnlyIntoASubclass

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.

### Moose::Exception::CanReblessOnlyIntoASuperclass

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.

### Moose::Exception::CannotAddAdditionalTypeCoercionsToUnion

This class has the following methods:

- •

  `$exception`-\>**type\_coercion\_union\_object()**

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

### Moose::Exception::CannotAddAsAnAttributeToARole

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 );
  ```

### Moose::Exception::CannotApplyBaseClassRolesToRole

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 );
  ```

### Moose::Exception::CannotAssignValueToReadOnlyAccessor

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()**

### Moose::Exception::CannotAugmentIfLocalMethodPresent

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.

### Moose::Exception::CannotAugmentNoSuperMethod

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.

### Moose::Exception::CannotAutoDerefWithoutIsa

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.

### Moose::Exception::CannotAutoDereferenceTypeConstraint

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 );
  ```

### Moose::Exception::CannotCalculateNativeType

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

This class has the following methods:

- •

  `$exception`-\>**instance()**

  Returns an Object value.

### Moose::Exception::CannotCallAnAbstractBaseMethod

This class has the following methods:

- •

  `$exception`-\>**package\_name()**

  Returns a Str value.

### Moose::Exception::CannotCallAnAbstractMethod

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

### Moose::Exception::CannotCoerceAWeakRef

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.

### Moose::Exception::CannotCoerceAttributeWhichHasNoCoercion

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 );
  ```

### Moose::Exception::CannotCreateHigherOrderTypeWithoutATypeParameter

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 );
  ```

### Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresent

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 );
  ```

### Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresentInClass

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 );
  ```

### Moose::Exception::CannotDelegateLocalMethodIsPresent

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.

### Moose::Exception::CannotDelegateWithoutIsa

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

This class has the following methods:

- •

  `$exception`-\>**attribute()**

  Returns a Class::MOP::Attribute object.

### Moose::Exception::CannotFindDelegateMetaclass

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

This class has the following methods:

- •

  `$exception`-\>**attribute()**

  Returns a Class::MOP::Attribute object.

### Moose::Exception::CannotFindType

This class has the following methods:

- •

  `$exception`-\>**type\_name()**

  Returns a Str value.

### Moose::Exception::CannotFindTypeGivenToMatchOnType

This class has the following methods:

- •

  `$exception`-\>**action()**

- •

  `$exception`-\>**to\_match()**

- •

  `$exception`-\>**type()**

### Moose::Exception::CannotFixMetaclassCompatibility

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.

### Moose::Exception::CannotGenerateInlineConstraint

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.

### Moose::Exception::CannotInitializeMooseMetaRoleComposite

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.

### Moose::Exception::CannotInlineTypeConstraintCheck

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 );
  ```

### Moose::Exception::CannotLocatePackageInINC

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.

### Moose::Exception::CannotMakeMetaclassCompatible

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.

### Moose::Exception::CannotOverrideALocalMethod

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 );
  ```

### Moose::Exception::CannotOverrideBodyOfMetaMethods

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.

### Moose::Exception::CannotOverrideLocalMethodIsPresent

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.

### Moose::Exception::CannotOverrideNoSuperMethod

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.

### Moose::Exception::CannotRegisterUnnamedTypeConstraint

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

### Moose::Exception::CannotUseLazyBuildAndDefaultSimultaneously

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.

### Moose::Exception::CircularReferenceInAlso

This class has the following methods:

- •

  `$exception`-\>**also\_parameter()**

  Returns a Str value.

- •

  `$exception`-\>**stack()**

  Returns an ArrayRef value.

### Moose::Exception::ClassDoesNotHaveInitMeta

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.

### Moose::Exception::ClassDoesTheExcludedRole

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 );
  ```

### Moose::Exception::ClassNamesDoNotMatch

This class has the following methods:

- •

  `$exception`-\>**class()**

  Returns a Class::MOP::Class object.

- •

  `$exception`-\>**class\_name()**

  Returns a Str value.

### Moose::Exception::CloneObjectExpectsAnInstanceOfMetaclass

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()**

### Moose::Exception::CodeBlockMustBeACodeRef

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.

### Moose::Exception::CoercingWithoutCoercions

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 );
  ```

### Moose::Exception::CoercionAlreadyExists

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.

### Moose::Exception::CoercionNeedsTypeConstraint

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.

### Moose::Exception::ConflictDetectedInCheckRoleExclusions

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 );
  ```

### Moose::Exception::ConflictDetectedInCheckRoleExclusionsInToClass

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 );
  ```

### Moose::Exception::ConstructClassInstanceTakesPackageName

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

### Moose::Exception::CouldNotCreateMethod

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()**

### Moose::Exception::CouldNotCreateWriter

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.

### Moose::Exception::CouldNotEvalConstructor

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.

### Moose::Exception::CouldNotEvalDestructor

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.

### Moose::Exception::CouldNotFindTypeConstraintToCoerceFrom

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.

### Moose::Exception::CouldNotGenerateInlineAttributeMethod

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.

### Moose::Exception::CouldNotLocateTypeConstraintForUnion

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 );
  ```

### Moose::Exception::CouldNotParseType

This class has the following methods:

- •

  `$exception`-\>**position()**

  Returns an Int value.

- •

  `$exception`-\>**type()**

  Returns a Str value.

### Moose::Exception::CreateMOPClassTakesArrayRefOfAttributes

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.

### Moose::Exception::CreateMOPClassTakesArrayRefOfSuperclasses

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.

### Moose::Exception::CreateMOPClassTakesHashRefOfMethods

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.

### Moose::Exception::CreateTakesArrayRefOfRoles

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.

### Moose::Exception::CreateTakesHashRefOfAttributes

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.

### Moose::Exception::CreateTakesHashRefOfMethods

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.

### Moose::Exception::DefaultToMatchOnTypeMustBeCodeRef

This class has the following methods:

- •

  `$exception`-\>**cases\_to\_be\_matched()**

  Returns an ArrayRef value.

- •

  `$exception`-\>**default\_action()**

- •

  `$exception`-\>**to\_match()**

### Moose::Exception::DelegationToAClassWhichIsNotLoaded

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.

### Moose::Exception::DelegationToARoleWhichIsNotLoaded

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.

### Moose::Exception::DelegationToATypeWhichIsNotAClass

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

This class has the following methods:

- •

  `$exception`-\>**attribute()**

  Returns a Class::MOP::Attribute object.

### Moose::Exception::DoesRequiresRoleName

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 );
  ```

### Moose::Exception::EnumCalledWithAnArrayRefAndAdditionalArgs

This class has the following methods:

- •

  `$exception`-\>**args()**

  Returns an ArrayRef value.

- •

  `$exception`-\>**array()**

  Returns an ArrayRef value.

### Moose::Exception::EnumValuesMustBeString

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()**

### Moose::Exception::ExtendsMissingArgs

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 );
  ```

### Moose::Exception::HandlesMustBeAHashRef

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

This class has the following methods:

- •

  `$exception`-\>**given\_handles()**

- •

  `$exception`-\>**instance()**

  Returns an Object value.

### Moose::Exception::IllegalInheritedOptions

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.

### Moose::Exception::IllegalMethodTypeToAddMethodModifier

This class has the following methods:

- •

  `$exception`-\>**class\_or\_object()**

- •

  `$exception`-\>**modifier\_name()**

  Returns a Str value.

- •

  `$exception`-\>**params()**

  Returns an ArrayRef value.

### Moose::Exception::IncompatibleMetaclassOfSuperclass

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.

### Moose::Exception::InitMetaRequiresClass

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

This class has the following methods:

- •

  `$exception`-\>**params()**

  Returns a HashRef value.

### Moose::Exception::InitializeTakesUnBlessedPackageName

This class has the following methods:

- •

  `$exception`-\>**package\_name()**

### Moose::Exception::InstanceBlessedIntoWrongClass

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.

### Moose::Exception::InstanceMustBeABlessedReference

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.

### Moose::Exception::InvalidArgPassedToMooseUtilMetaRole

This class has the following methods:

- •

  `$exception`-\>**argument()**

### Moose::Exception::InvalidArgumentToMethod

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.

### Moose::Exception::InvalidArgumentsToTraitAliases

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.

### Moose::Exception::InvalidBaseTypeGivenToCreateParameterizedTypeConstraint

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 );
  ```

### Moose::Exception::InvalidHandleValue

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

This class has the following methods:

- •

  `$exception`-\>**handle\_value()**

- •

  `$exception`-\>**instance()**

  Returns an Object value.

### Moose::Exception::InvalidHasProvidedInARole

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 );
  ```

### Moose::Exception::InvalidNameForType

This class has the following methods:

- •

  `$exception`-\>**name()**

  Returns a Str value.

### Moose::Exception::InvalidOverloadOperator

This class has the following methods:

- •

  `$exception`-\>**operator()**

  Returns a Defined value.

### Moose::Exception::InvalidRoleApplication

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 );
  ```

### Moose::Exception::InvalidTypeConstraint

This class has the following methods:

- •

  `$exception`-\>**registry\_object()**

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

- •

  `$exception`-\>**type()**

### Moose::Exception::InvalidTypeGivenToCreateParameterizedTypeConstraint

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 );
  ```

### Moose::Exception::InvalidValueForIs

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.

### Moose::Exception::IsaDoesNotDoTheRole

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.

### Moose::Exception::IsaLacksDoesMethod

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.

### Moose::Exception::LazyAttributeNeedsADefault

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.

### Moose::Exception::Legacy

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

### Moose::Exception::MOPAttributeNewNeedsAttributeName

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.

### Moose::Exception::MatchActionMustBeACodeRef

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 );
  ```

### Moose::Exception::MessageParameterMustBeCodeRef

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.

### Moose::Exception::MetaclassIsAClassNotASubclassOfGivenMetaclass

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.

### Moose::Exception::MetaclassIsARoleNotASubclassOfGivenMetaclass

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 );
  ```

### Moose::Exception::MetaclassIsNotASubclassOfGivenMetaclass

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.

### Moose::Exception::MetaclassMustBeASubclassOfMooseMetaClass

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 );
  ```

### Moose::Exception::MetaclassMustBeASubclassOfMooseMetaRole

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 );
  ```

### Moose::Exception::MetaclassMustBeDerivedFromClassMOPClass

This class has the following methods:

- •

  `$exception`-\>**class\_name()**

  Returns a Str value.

### Moose::Exception::MetaclassNotLoaded

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 );
  ```

### Moose::Exception::MetaclassTypeIncompatible

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.

### Moose::Exception::MethodExpectedAMetaclassObject

This class has the following methods:

- •

  `$exception`-\>**class()**

  Returns a Str value.

- •

  `$exception`-\>**metaclass()**

### Moose::Exception::MethodExpectsFewerArgs

This class has the following methods:

- •

  `$exception`-\>**maximum\_args()**

  Returns an Int value.

- •

  `$exception`-\>**method\_name()**

  Returns a Str value.

### Moose::Exception::MethodExpectsMoreArgs

This class has the following methods:

- •

  `$exception`-\>**method\_name()**

  Returns a Str value.

- •

  `$exception`-\>**minimum\_args()**

  Returns an Int value.

### Moose::Exception::MethodModifierNeedsMethodName

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 );
  ```

### Moose::Exception::MethodNameConflictInRoles

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.

### Moose::Exception::MethodNameNotFoundInInheritanceHierarchy

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.

### Moose::Exception::MethodNameNotGiven

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 );
  ```

### Moose::Exception::MustDefineAMethodName

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

This class has the following methods:

- •

  `$exception`-\>**instance()**

  Returns an Object value.

### Moose::Exception::MustDefineAnAttributeName

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 );
  ```

### Moose::Exception::MustDefineAnOverloadOperator

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

This class has the following methods:

- •

  `$exception`-\>**instance()**

  Returns an Object value.

### Moose::Exception::MustHaveAtLeastOneValueToEnumerate

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.

### Moose::Exception::MustPassAHashOfOptions

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.

### Moose::Exception::MustPassAMooseMetaRoleInstanceOrSubclass

This class has the following methods:

- •

  `$exception`-\>**class()**

  Returns a Str value.

- •

  `$exception`-\>**role()**

### Moose::Exception::MustPassAPackageNameOrAnExistingClassMOPPackageInstance

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

This class has the following methods:

- •

  `$exception`-\>**class()**

- •

  `$exception`-\>**params()**

  Returns a HashRef value.

### Moose::Exception::MustPassEvenNumberOfArguments

This class has the following methods:

- •

  `$exception`-\>**args()**

  Returns an ArrayRef value.

- •

  `$exception`-\>**method\_name()**

  Returns a Str value.

### Moose::Exception::MustPassEvenNumberOfAttributeOptions

This class has the following methods:

- •

  `$exception`-\>**attribute\_name()**

  Returns a Str value.

- •

  `$exception`-\>**options()**

  Returns an ArrayRef value.

### Moose::Exception::MustProvideANameForTheAttribute

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.

### Moose::Exception::MustSpecifyAtleastOneMethod

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 );
  ```

### Moose::Exception::MustSpecifyAtleastOneRole

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 );
  ```

### Moose::Exception::MustSpecifyAtleastOneRoleToApplicant

This class has the following methods:

- •

  `$exception`-\>**applicant()**

### Moose::Exception::MustSupplyAClassMOPAttributeInstance

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.

### Moose::Exception::MustSupplyADelegateToMethod

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.

### Moose::Exception::MustSupplyAMetaclass

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.

### Moose::Exception::MustSupplyAMooseMetaAttributeInstance

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.

### Moose::Exception::MustSupplyAnAccessorTypeToConstructWith

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.

### Moose::Exception::MustSupplyAnAttributeToConstructWith

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.

### Moose::Exception::MustSupplyArrayRefAsCurriedArguments

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.

### Moose::Exception::MustSupplyPackageNameAndName

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.

### Moose::Exception::NeedsTypeConstraintUnionForTypeCoercionUnion

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 );
  ```

### Moose::Exception::NeitherAttributeNorAttributeNameIsGiven

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

### Moose::Exception::NeitherClassNorClassNameIsGiven

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

### Moose::Exception::NeitherRoleNorRoleNameIsGiven

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

### Moose::Exception::NeitherTypeNorTypeNameIsGiven

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

### Moose::Exception::NoAttributeFoundInSuperClass

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.

### Moose::Exception::NoBodyToInitializeInAnAbstractBaseClass

This class has the following methods:

- •

  `$exception`-\>**package\_name()**

  Returns a Str value.

### Moose::Exception::NoCasesMatched

This class has the following methods:

- •

  `$exception`-\>**cases\_to\_be\_matched()**

  Returns an ArrayRef value.

- •

  `$exception`-\>**to\_match()**

### Moose::Exception::NoConstraintCheckForTypeConstraint

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 );
  ```

### Moose::Exception::NoDestructorClassSpecified

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.

### Moose::Exception::NoImmutableTraitSpecifiedForClass

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.

### Moose::Exception::NoParentGivenToSubtype

This class has the following methods:

- •

  `$exception`-\>**name()**

  Returns a Str value.

### Moose::Exception::OnlyInstancesCanBeCloned

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.

### Moose::Exception::OperatorIsRequired

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.

### Moose::Exception::OverloadConflictInSummation

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.

### Moose::Exception::OverloadRequiresAMetaClass

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

### Moose::Exception::OverloadRequiresAMetaMethod

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

### Moose::Exception::OverloadRequiresAMetaOverload

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

### Moose::Exception::OverloadRequiresAMethodNameOrCoderef

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

### Moose::Exception::OverloadRequiresAnOperator

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

### Moose::Exception::OverloadRequiresNamesForCoderef

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

### Moose::Exception::OverrideConflictInComposition

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.

### Moose::Exception::OverrideConflictInSummation

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.

### Moose::Exception::PackageDoesNotUseMooseExporter

This class has the following methods:

- •

  `$exception`-\>**is\_loaded()**

  Returns a Bool value.

- •

  `$exception`-\>**package()**

  Returns a Str value.

### Moose::Exception::PackageNameAndNameParamsNotGivenToWrap

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.

### Moose::Exception::PackagesAndModulesAreNotCachable

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.

### Moose::Exception::ParameterIsNotSubtypeOfParent

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.

### Moose::Exception::ReferencesAreNotAllowedAsDefault

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.

### Moose::Exception::RequiredAttributeLacksInitialization

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.

### Moose::Exception::RequiredAttributeNeedsADefault

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.

### Moose::Exception::RequiredMethodsImportedByClass

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 );
  ```

### Moose::Exception::RequiredMethodsNotImplementedByClass

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 );
  ```

### Moose::Exception::RoleDoesTheExcludedRole

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.

### Moose::Exception::RoleExclusionConflict

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.

### Moose::Exception::RoleNameRequired

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 );
  ```

### Moose::Exception::RoleNameRequiredForMooseMetaRole

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 );
  ```

### Moose::Exception::RolesDoNotSupportAugment

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

### Moose::Exception::RolesDoNotSupportExtends

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

### Moose::Exception::RolesDoNotSupportInner

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

### Moose::Exception::RolesDoNotSupportRegexReferencesForMethodModifiers

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 );
  ```

### Moose::Exception::RolesInCreateTakesAnArrayRef

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

This class has the following methods:

- •

  `$exception`-\>**params()**

  Returns a HashRef value.

### Moose::Exception::RolesListMustBeInstancesOfMooseMetaRole

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()**

### Moose::Exception::SingleParamsToNewMustBeHashRef

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

### Moose::Exception::TriggerMustBeACodeRef

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.

### Moose::Exception::TypeConstraintCannotBeUsedForAParameterizableType

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 );
  ```

### Moose::Exception::TypeConstraintIsAlreadyCreated

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 );
  ```

### Moose::Exception::TypeParameterMustBeMooseMetaType

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 );
  ```

### Moose::Exception::UnableToCanonicalizeHandles

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()**

### Moose::Exception::UnableToCanonicalizeNonRolePackage

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.

### Moose::Exception::UnableToRecognizeDelegateMetaclass

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()**

### Moose::Exception::UndefinedHashKeysPassedToMethod

This class has the following methods:

- •

  `$exception`-\>**hash\_keys()**

  Returns an ArrayRef value.

- •

  `$exception`-\>**method\_name()**

  Returns a Str value.

### Moose::Exception::UnionCalledWithAnArrayRefAndAdditionalArgs

This class has the following methods:

- •

  `$exception`-\>**args()**

  Returns an ArrayRef value.

- •

  `$exception`-\>**array()**

  Returns an ArrayRef value.

### Moose::Exception::UnionTakesAtleastTwoTypeNames

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

### Moose::Exception::ValidationFailedForInlineTypeConstraint

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()**

### Moose::Exception::ValidationFailedForTypeConstraint

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()**

### Moose::Exception::WrapTakesACodeRefToBless

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.

### Moose::Exception::WrongTypeConstraintGiven

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.

## AUTHORS

- •

  Stevan Little \<stevan@cpan.org\>

- •

  Dave Rolsky \<autarch@urth.org\>

- •

  Jesse Luehrs \<doy@cpan.org\>

- •

  Shawn M Moore \<sartak@cpan.org\>

- •

  יובל קוג'מן (Yuval Kogman) \<nothingmuch@woobling.org\>

- •

  Karen Etheridge \<ether@cpan.org\>

- •

  Florian Ragwitz \<rafl@debian.org\>

- •

  Hans Dieter Pearcey \<hdp@cpan.org\>

- •

  Chris Prather \<chris@prather.org\>

- •

  Matt S Trout \<mstrout@cpan.org\>

## COPYRIGHT AND LICENSE

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.
