NAME
Moose::Manual::Exceptions::Manifest - Moose's Exception Types
VERSION
version 2.2202
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.