.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Moose::Manual::Exceptions::Manifest 3pm" .TH Moose::Manual::Exceptions::Manifest 3pm 2024-01-21 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Moose::Manual::Exceptions::Manifest \- Moose's Exception Types .SH VERSION .IX Header "VERSION" version 2.2207 .SH DESCRIPTION .IX Header "DESCRIPTION" This document contains a manifest of all the exception classes that are thrown as Moose internal errors. .SH "COMMON ELEMENTS" .IX Header "COMMON ELEMENTS" Unless otherwise stated, all classes are subclasses of Moose::Exception. .PP Similarly, all classes provide the following attribute reader methods: .ie n .SS $exception\->message .el .SS \f(CW$exception\fP\->message .IX Subsection "$exception->message" This method returns the error message for the exception. .ie n .SS $exception\->trace .el .SS \f(CW$exception\fP\->trace .IX Subsection "$exception->trace" This method returns a Devel::StackTrace object. .SH "EXCEPTION CLASSES" .IX Header "EXCEPTION CLASSES" Moose ships with the following exception classes: .SS Moose::Exception::AccessorMustReadWrite .IX Subsection "Moose::Exception::AccessorMustReadWrite" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::AddParameterizableTypeTakesParameterizableType .IX Subsection "Moose::Exception::AddParameterizableTypeTakesParameterizableType" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .SS Moose::Exception::AddRoleTakesAMooseMetaRoleInstance .IX Subsection "Moose::Exception::AddRoleTakesAMooseMetaRoleInstance" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_to_be_added()\fR .SS Moose::Exception::AddRoleToARoleTakesAMooseMetaRole .IX Subsection "Moose::Exception::AddRoleToARoleTakesAMooseMetaRole" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_to_be_added()\fR .SS Moose::Exception::ApplyTakesABlessedInstance .IX Subsection "Moose::Exception::ApplyTakesABlessedInstance" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBparam()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::AttachToClassNeedsAClassMOPClassInstanceOrASubclass .IX Subsection "Moose::Exception::AttachToClassNeedsAClassMOPClassInstanceOrASubclass" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .SS Moose::Exception::AttributeConflictInRoles .IX Subsection "Moose::Exception::AttributeConflictInRoles" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBsecond_role_name()\fR .Sp Returns a Str value. .SS Moose::Exception::AttributeConflictInSummation .IX Subsection "Moose::Exception::AttributeConflictInSummation" This class consumes the Moose::Exception::Role::AttributeName and Moose::Exception::Role::Role roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBsecond_role_name()\fR .Sp Returns a Str value. .SS Moose::Exception::AttributeExtensionIsNotSupportedInRoles .IX Subsection "Moose::Exception::AttributeExtensionIsNotSupportedInRoles" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::AttributeIsRequired .IX Subsection "Moose::Exception::AttributeIsRequired" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_init_arg()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching attribute instance: .Sp .Vb 2 \& my $class = Moose::Util::find_meta( $exception\->class_name ); \& my $attribute = $class\->get_attribute( $exception\->attribute_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::AttributeMustBeAnClassMOPMixinAttributeCoreOrSubclass .IX Subsection "Moose::Exception::AttributeMustBeAnClassMOPMixinAttributeCoreOrSubclass" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::AttributeNamesDoNotMatch .IX Subsection "Moose::Exception::AttributeNamesDoNotMatch" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .SS Moose::Exception::AttributeValueIsNotAnObject .IX Subsection "Moose::Exception::AttributeValueIsNotAnObject" This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBgiven_value()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod()\fR .Sp Returns a Moose::Meta::Method::Delegation object. .SS Moose::Exception::AttributeValueIsNotDefined .IX Subsection "Moose::Exception::AttributeValueIsNotDefined" This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod()\fR .Sp Returns a Moose::Meta::Method::Delegation object. .SS Moose::Exception::AutoDeRefNeedsArrayRefOrHashRef .IX Subsection "Moose::Exception::AutoDeRefNeedsArrayRefOrHashRef" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::BadOptionFormat .IX Subsection "Moose::Exception::BadOptionFormat" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBoption_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBoption_value()\fR .SS Moose::Exception::BothBuilderAndDefaultAreNotAllowed .IX Subsection "Moose::Exception::BothBuilderAndDefaultAreNotAllowed" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::BuilderDoesNotExist .IX Subsection "Moose::Exception::BuilderDoesNotExist" This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::BuilderMethodNotSupportedForAttribute .IX Subsection "Moose::Exception::BuilderMethodNotSupportedForAttribute" This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::BuilderMethodNotSupportedForInlineAttribute .IX Subsection "Moose::Exception::BuilderMethodNotSupportedForInlineAttribute" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Instance roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBbuilder()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::BuilderMustBeAMethodName .IX Subsection "Moose::Exception::BuilderMustBeAMethodName" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CallingMethodOnAnImmutableInstance .IX Subsection "Moose::Exception::CallingMethodOnAnImmutableInstance" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .SS Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance .IX Subsection "Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .SS Moose::Exception::CanExtendOnlyClasses .IX Subsection "Moose::Exception::CanExtendOnlyClasses" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::CanOnlyConsumeRole .IX Subsection "Moose::Exception::CanOnlyConsumeRole" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .SS Moose::Exception::CanOnlyWrapBlessedCode .IX Subsection "Moose::Exception::CanOnlyWrapBlessedCode" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBcode()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CanReblessOnlyIntoASubclass .IX Subsection "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. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance_class()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CanReblessOnlyIntoASuperclass .IX Subsection "Moose::Exception::CanReblessOnlyIntoASuperclass" This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, and Moose::Exception::Role::InstanceClass roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance_class()\fR .Sp Returns a Str value. .SS Moose::Exception::CannotAddAdditionalTypeCoercionsToUnion .IX Subsection "Moose::Exception::CannotAddAdditionalTypeCoercionsToUnion" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_coercion_union_object()\fR .Sp Returns a Moose::Meta::TypeCoercion::Union object. .SS Moose::Exception::CannotAddAsAnAttributeToARole .IX Subsection "Moose::Exception::CannotAddAsAnAttributeToARole" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_class()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::CannotApplyBaseClassRolesToRole .IX Subsection "Moose::Exception::CannotApplyBaseClassRolesToRole" This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::Role roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::CannotAssignValueToReadOnlyAccessor .IX Subsection "Moose::Exception::CannotAssignValueToReadOnlyAccessor" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::EitherAttributeOrAttributeName roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBvalue()\fR .SS Moose::Exception::CannotAugmentIfLocalMethodPresent .IX Subsection "Moose::Exception::CannotAugmentIfLocalMethodPresent" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Method roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod()\fR .Sp Returns a Moose::Meta::Method object. .SS Moose::Exception::CannotAugmentNoSuperMethod .IX Subsection "Moose::Exception::CannotAugmentNoSuperMethod" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CannotAutoDerefWithoutIsa .IX Subsection "Moose::Exception::CannotAutoDerefWithoutIsa" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CannotAutoDereferenceTypeConstraint .IX Subsection "Moose::Exception::CannotAutoDereferenceTypeConstraint" This class consumes the Moose::Exception::Role::Attribute, Moose::Exception::Role::Instance, and Moose::Exception::Role::TypeConstraint roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::CannotCalculateNativeType .IX Subsection "Moose::Exception::CannotCalculateNativeType" This class consumes the Moose::Exception::Role::Instance role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::CannotCallAnAbstractBaseMethod .IX Subsection "Moose::Exception::CannotCallAnAbstractBaseMethod" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBpackage_name()\fR .Sp Returns a Str value. .SS Moose::Exception::CannotCallAnAbstractMethod .IX Subsection "Moose::Exception::CannotCallAnAbstractMethod" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::CannotCoerceAWeakRef .IX Subsection "Moose::Exception::CannotCoerceAWeakRef" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CannotCoerceAttributeWhichHasNoCoercion .IX Subsection "Moose::Exception::CannotCoerceAttributeWhichHasNoCoercion" This class consumes the Moose::Exception::Role::InvalidAttributeOptions, Moose::Exception::Role::ParamsHash, and Moose::Exception::Role::TypeConstraint roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::CannotCreateHigherOrderTypeWithoutATypeParameter .IX Subsection "Moose::Exception::CannotCreateHigherOrderTypeWithoutATypeParameter" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresent .IX Subsection "Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresent" This class consumes the Moose::Exception::Role::Method and Moose::Exception::Role::Role roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBaliased_method_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod()\fR .Sp Returns a Moose::Meta::Method object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_being_applied_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresentInClass .IX Subsection "Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresentInClass" This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Method, and Moose::Exception::Role::Role roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBaliased_method_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod()\fR .Sp Returns a Moose::Meta::Method object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::CannotDelegateLocalMethodIsPresent .IX Subsection "Moose::Exception::CannotDelegateLocalMethodIsPresent" This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Method roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod()\fR .Sp Returns a Moose::Meta::Method object. .SS Moose::Exception::CannotDelegateWithoutIsa .IX Subsection "Moose::Exception::CannotDelegateWithoutIsa" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .SS Moose::Exception::CannotFindDelegateMetaclass .IX Subsection "Moose::Exception::CannotFindDelegateMetaclass" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .SS Moose::Exception::CannotFindType .IX Subsection "Moose::Exception::CannotFindType" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .SS Moose::Exception::CannotFindTypeGivenToMatchOnType .IX Subsection "Moose::Exception::CannotFindTypeGivenToMatchOnType" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBaction()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBto_match()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype()\fR .SS Moose::Exception::CannotFixMetaclassCompatibility .IX Subsection "Moose::Exception::CannotFixMetaclassCompatibility" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBmetaclass_type()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBsuperclass()\fR .Sp Returns an Object value. .SS Moose::Exception::CannotGenerateInlineConstraint .IX Subsection "Moose::Exception::CannotGenerateInlineConstraint" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBparameterizable_type_object_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching parameterizable type constraint(Moose::Meta::TypeConstraint::Parameterizable): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBvalue()\fR .Sp Returns a Str value. .SS Moose::Exception::CannotInitializeMooseMetaRoleComposite .IX Subsection "Moose::Exception::CannotInitializeMooseMetaRoleComposite" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBargs()\fR .Sp Returns an ArrayRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBold_meta()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_composite()\fR .Sp Returns a Moose::Meta::Role::Composite object. .SS Moose::Exception::CannotInlineTypeConstraintCheck .IX Subsection "Moose::Exception::CannotInlineTypeConstraintCheck" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::CannotLocatePackageInINC .IX Subsection "Moose::Exception::CannotLocatePackageInINC" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBINC()\fR .Sp Returns an ArrayRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmetaclass_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBpossible_packages()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype()\fR .Sp Returns a Str value. .SS Moose::Exception::CannotMakeMetaclassCompatible .IX Subsection "Moose::Exception::CannotMakeMetaclassCompatible" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBsuperclass_name()\fR .Sp Returns a Str value. .SS Moose::Exception::CannotOverrideALocalMethod .IX Subsection "Moose::Exception::CannotOverrideALocalMethod" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::CannotOverrideBodyOfMetaMethods .IX Subsection "Moose::Exception::CannotOverrideBodyOfMetaMethods" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CannotOverrideLocalMethodIsPresent .IX Subsection "Moose::Exception::CannotOverrideLocalMethodIsPresent" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Method roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod()\fR .Sp Returns a Moose::Meta::Method object. .SS Moose::Exception::CannotOverrideNoSuperMethod .IX Subsection "Moose::Exception::CannotOverrideNoSuperMethod" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CannotRegisterUnnamedTypeConstraint .IX Subsection "Moose::Exception::CannotRegisterUnnamedTypeConstraint" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::CannotUseLazyBuildAndDefaultSimultaneously .IX Subsection "Moose::Exception::CannotUseLazyBuildAndDefaultSimultaneously" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CircularReferenceInAlso .IX Subsection "Moose::Exception::CircularReferenceInAlso" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBalso_parameter()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBstack()\fR .Sp Returns an ArrayRef value. .SS Moose::Exception::ClassDoesNotHaveInitMeta .IX Subsection "Moose::Exception::ClassDoesNotHaveInitMeta" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBtraits()\fR .Sp Returns an ArrayRef value. .SS Moose::Exception::ClassDoesTheExcludedRole .IX Subsection "Moose::Exception::ClassDoesTheExcludedRole" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBexcluded_role_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::ClassNamesDoNotMatch .IX Subsection "Moose::Exception::ClassNamesDoNotMatch" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Class::MOP::Class object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .SS Moose::Exception::CloneObjectExpectsAnInstanceOfMetaclass .IX Subsection "Moose::Exception::CloneObjectExpectsAnInstanceOfMetaclass" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .SS Moose::Exception::CodeBlockMustBeACodeRef .IX Subsection "Moose::Exception::CodeBlockMustBeACodeRef" This class consumes the Moose::Exception::Role::Instance and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CoercingWithoutCoercions .IX Subsection "Moose::Exception::CoercingWithoutCoercions" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::CoercionAlreadyExists .IX Subsection "Moose::Exception::CoercionAlreadyExists" This class consumes the Moose::Exception::Role::Instance role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBconstraint_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::CoercionNeedsTypeConstraint .IX Subsection "Moose::Exception::CoercionNeedsTypeConstraint" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::ConflictDetectedInCheckRoleExclusions .IX Subsection "Moose::Exception::ConflictDetectedInCheckRoleExclusions" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBexcluded_role_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::ConflictDetectedInCheckRoleExclusionsInToClass .IX Subsection "Moose::Exception::ConflictDetectedInCheckRoleExclusionsInToClass" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::ConstructClassInstanceTakesPackageName .IX Subsection "Moose::Exception::ConstructClassInstanceTakesPackageName" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::CouldNotCreateMethod .IX Subsection "Moose::Exception::CouldNotCreateMethod" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBerror()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBoption_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBoption_value()\fR .SS Moose::Exception::CouldNotCreateWriter .IX Subsection "Moose::Exception::CouldNotCreateWriter" This class consumes the Moose::Exception::Role::EitherAttributeOrAttributeName and Moose::Exception::Role::Instance roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBerror()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CouldNotEvalConstructor .IX Subsection "Moose::Exception::CouldNotEvalConstructor" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBconstructor_method()\fR .Sp Returns a Class::MOP::Method::Constructor object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBerror()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBsource()\fR .Sp Returns a Str value. .SS Moose::Exception::CouldNotEvalDestructor .IX Subsection "Moose::Exception::CouldNotEvalDestructor" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBerror()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_destructor_object()\fR .Sp Returns a Moose::Meta::Method::Destructor object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBsource()\fR .Sp Returns a Str value. .SS Moose::Exception::CouldNotFindTypeConstraintToCoerceFrom .IX Subsection "Moose::Exception::CouldNotFindTypeConstraintToCoerceFrom" This class consumes the Moose::Exception::Role::Instance role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBconstraint_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::CouldNotGenerateInlineAttributeMethod .IX Subsection "Moose::Exception::CouldNotGenerateInlineAttributeMethod" This class consumes the Moose::Exception::Role::Instance role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBerror()\fR .Sp Returns a Moose::Exception|Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBoption()\fR .Sp Returns a Str value. .SS Moose::Exception::CouldNotLocateTypeConstraintForUnion .IX Subsection "Moose::Exception::CouldNotLocateTypeConstraintForUnion" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::CouldNotParseType .IX Subsection "Moose::Exception::CouldNotParseType" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBposition()\fR .Sp Returns an Int value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype()\fR .Sp Returns a Str value. .SS Moose::Exception::CreateMOPClassTakesArrayRefOfAttributes .IX Subsection "Moose::Exception::CreateMOPClassTakesArrayRefOfAttributes" This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CreateMOPClassTakesArrayRefOfSuperclasses .IX Subsection "Moose::Exception::CreateMOPClassTakesArrayRefOfSuperclasses" This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CreateMOPClassTakesHashRefOfMethods .IX Subsection "Moose::Exception::CreateMOPClassTakesHashRefOfMethods" This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CreateTakesArrayRefOfRoles .IX Subsection "Moose::Exception::CreateTakesArrayRefOfRoles" This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_class()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CreateTakesHashRefOfAttributes .IX Subsection "Moose::Exception::CreateTakesHashRefOfAttributes" This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_class()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::CreateTakesHashRefOfMethods .IX Subsection "Moose::Exception::CreateTakesHashRefOfMethods" This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_class()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::DefaultToMatchOnTypeMustBeCodeRef .IX Subsection "Moose::Exception::DefaultToMatchOnTypeMustBeCodeRef" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBcases_to_be_matched()\fR .Sp Returns an ArrayRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBdefault_action()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBto_match()\fR .SS Moose::Exception::DelegationToAClassWhichIsNotLoaded .IX Subsection "Moose::Exception::DelegationToAClassWhichIsNotLoaded" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .SS Moose::Exception::DelegationToARoleWhichIsNotLoaded .IX Subsection "Moose::Exception::DelegationToARoleWhichIsNotLoaded" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .SS Moose::Exception::DelegationToATypeWhichIsNotAClass .IX Subsection "Moose::Exception::DelegationToATypeWhichIsNotAClass" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .SS Moose::Exception::DoesRequiresRoleName .IX Subsection "Moose::Exception::DoesRequiresRoleName" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::EnumCalledWithAnArrayRefAndAdditionalArgs .IX Subsection "Moose::Exception::EnumCalledWithAnArrayRefAndAdditionalArgs" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBargs()\fR .Sp Returns an ArrayRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBarray()\fR .Sp Returns an ArrayRef value. .SS Moose::Exception::EnumValuesMustBeString .IX Subsection "Moose::Exception::EnumValuesMustBeString" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBvalue()\fR .SS Moose::Exception::ExtendsMissingArgs .IX Subsection "Moose::Exception::ExtendsMissingArgs" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::HandlesMustBeAHashRef .IX Subsection "Moose::Exception::HandlesMustBeAHashRef" This class consumes the Moose::Exception::Role::Instance role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBgiven_handles()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::IllegalInheritedOptions .IX Subsection "Moose::Exception::IllegalInheritedOptions" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBillegal_options()\fR .Sp Returns an ArrayRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::IllegalMethodTypeToAddMethodModifier .IX Subsection "Moose::Exception::IllegalMethodTypeToAddMethodModifier" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_or_object()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBmodifier_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns an ArrayRef value. .SS Moose::Exception::IncompatibleMetaclassOfSuperclass .IX Subsection "Moose::Exception::IncompatibleMetaclassOfSuperclass" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_meta_type()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBsuperclass_meta_type()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBsuperclass_name()\fR .Sp Returns a Str value. .SS Moose::Exception::InitMetaRequiresClass .IX Subsection "Moose::Exception::InitMetaRequiresClass" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::InitializeTakesUnBlessedPackageName .IX Subsection "Moose::Exception::InitializeTakesUnBlessedPackageName" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBpackage_name()\fR .SS Moose::Exception::InstanceBlessedIntoWrongClass .IX Subsection "Moose::Exception::InstanceBlessedIntoWrongClass" This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::InstanceMustBeABlessedReference .IX Subsection "Moose::Exception::InstanceMustBeABlessedReference" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::InvalidArgPassedToMooseUtilMetaRole .IX Subsection "Moose::Exception::InvalidArgPassedToMooseUtilMetaRole" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBargument()\fR .SS Moose::Exception::InvalidArgumentToMethod .IX Subsection "Moose::Exception::InvalidArgumentToMethod" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBargument()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBargument_noun()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBordinal()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_of_argument()\fR .Sp Returns a Str value. .SS Moose::Exception::InvalidArgumentsToTraitAliases .IX Subsection "Moose::Exception::InvalidArgumentsToTraitAliases" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBalias()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBpackage_name()\fR .Sp Returns a Str value. .SS Moose::Exception::InvalidBaseTypeGivenToCreateParameterizedTypeConstraint .IX Subsection "Moose::Exception::InvalidBaseTypeGivenToCreateParameterizedTypeConstraint" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::InvalidHandleValue .IX Subsection "Moose::Exception::InvalidHandleValue" This class consumes the Moose::Exception::Role::Instance role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBhandle_value()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::InvalidHasProvidedInARole .IX Subsection "Moose::Exception::InvalidHasProvidedInARole" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::InvalidNameForType .IX Subsection "Moose::Exception::InvalidNameForType" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBname()\fR .Sp Returns a Str value. .SS Moose::Exception::InvalidOverloadOperator .IX Subsection "Moose::Exception::InvalidOverloadOperator" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBoperator()\fR .Sp Returns a Defined value. .SS Moose::Exception::InvalidRoleApplication .IX Subsection "Moose::Exception::InvalidRoleApplication" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBapplication()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::InvalidTypeConstraint .IX Subsection "Moose::Exception::InvalidTypeConstraint" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBregistry_object()\fR .Sp Returns a Moose::Meta::TypeConstraint::Registry object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype()\fR .SS Moose::Exception::InvalidTypeGivenToCreateParameterizedTypeConstraint .IX Subsection "Moose::Exception::InvalidTypeGivenToCreateParameterizedTypeConstraint" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::InvalidValueForIs .IX Subsection "Moose::Exception::InvalidValueForIs" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::IsaDoesNotDoTheRole .IX Subsection "Moose::Exception::IsaDoesNotDoTheRole" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::IsaLacksDoesMethod .IX Subsection "Moose::Exception::IsaLacksDoesMethod" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::LazyAttributeNeedsADefault .IX Subsection "Moose::Exception::LazyAttributeNeedsADefault" This class consumes the Moose::Exception::Role::EitherAttributeOrAttributeName role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::Legacy .IX Subsection "Moose::Exception::Legacy" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::MOPAttributeNewNeedsAttributeName .IX Subsection "Moose::Exception::MOPAttributeNewNeedsAttributeName" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MatchActionMustBeACodeRef .IX Subsection "Moose::Exception::MatchActionMustBeACodeRef" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBaction()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBto_match()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::MessageParameterMustBeCodeRef .IX Subsection "Moose::Exception::MessageParameterMustBeCodeRef" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MetaclassIsAClassNotASubclassOfGivenMetaclass .IX Subsection "Moose::Exception::MetaclassIsAClassNotASubclassOfGivenMetaclass" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBmetaclass()\fR .Sp Returns a Str value. .SS Moose::Exception::MetaclassIsARoleNotASubclassOfGivenMetaclass .IX Subsection "Moose::Exception::MetaclassIsARoleNotASubclassOfGivenMetaclass" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBmetaclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::MetaclassIsNotASubclassOfGivenMetaclass .IX Subsection "Moose::Exception::MetaclassIsNotASubclassOfGivenMetaclass" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBmetaclass()\fR .Sp Returns a Str value. .SS Moose::Exception::MetaclassMustBeASubclassOfMooseMetaClass .IX Subsection "Moose::Exception::MetaclassMustBeASubclassOfMooseMetaClass" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::MetaclassMustBeASubclassOfMooseMetaRole .IX Subsection "Moose::Exception::MetaclassMustBeASubclassOfMooseMetaRole" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::MetaclassMustBeDerivedFromClassMOPClass .IX Subsection "Moose::Exception::MetaclassMustBeDerivedFromClassMOPClass" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .SS Moose::Exception::MetaclassNotLoaded .IX Subsection "Moose::Exception::MetaclassNotLoaded" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::MetaclassTypeIncompatible .IX Subsection "Moose::Exception::MetaclassTypeIncompatible" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBmetaclass_type()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBsuperclass_name()\fR .Sp Returns a Str value. .SS Moose::Exception::MethodExpectedAMetaclassObject .IX Subsection "Moose::Exception::MethodExpectedAMetaclassObject" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmetaclass()\fR .SS Moose::Exception::MethodExpectsFewerArgs .IX Subsection "Moose::Exception::MethodExpectsFewerArgs" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBmaximum_args()\fR .Sp Returns an Int value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .SS Moose::Exception::MethodExpectsMoreArgs .IX Subsection "Moose::Exception::MethodExpectsMoreArgs" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBminimum_args()\fR .Sp Returns an Int value. .SS Moose::Exception::MethodModifierNeedsMethodName .IX Subsection "Moose::Exception::MethodModifierNeedsMethodName" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::MethodNameConflictInRoles .IX Subsection "Moose::Exception::MethodNameConflictInRoles" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBconflict()\fR .Sp Returns an ArrayRef[Moose::Meta::Role::Method::Conflicting] value. .SS Moose::Exception::MethodNameNotFoundInInheritanceHierarchy .IX Subsection "Moose::Exception::MethodNameNotFoundInInheritanceHierarchy" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .SS Moose::Exception::MethodNameNotGiven .IX Subsection "Moose::Exception::MethodNameNotGiven" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::MustDefineAMethodName .IX Subsection "Moose::Exception::MustDefineAMethodName" This class consumes the Moose::Exception::Role::Instance role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::MustDefineAnAttributeName .IX Subsection "Moose::Exception::MustDefineAnAttributeName" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::MustDefineAnOverloadOperator .IX Subsection "Moose::Exception::MustDefineAnOverloadOperator" This class consumes the Moose::Exception::Role::Instance role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .Sp Returns an Object value. .SS Moose::Exception::MustHaveAtLeastOneValueToEnumerate .IX Subsection "Moose::Exception::MustHaveAtLeastOneValueToEnumerate" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustPassAHashOfOptions .IX Subsection "Moose::Exception::MustPassAHashOfOptions" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustPassAMooseMetaRoleInstanceOrSubclass .IX Subsection "Moose::Exception::MustPassAMooseMetaRoleInstanceOrSubclass" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole()\fR .SS Moose::Exception::MustPassAPackageNameOrAnExistingClassMOPPackageInstance .IX Subsection "Moose::Exception::MustPassAPackageNameOrAnExistingClassMOPPackageInstance" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustPassEvenNumberOfArguments .IX Subsection "Moose::Exception::MustPassEvenNumberOfArguments" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBargs()\fR .Sp Returns an ArrayRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .SS Moose::Exception::MustPassEvenNumberOfAttributeOptions .IX Subsection "Moose::Exception::MustPassEvenNumberOfAttributeOptions" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBoptions()\fR .Sp Returns an ArrayRef value. .SS Moose::Exception::MustProvideANameForTheAttribute .IX Subsection "Moose::Exception::MustProvideANameForTheAttribute" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustSpecifyAtleastOneMethod .IX Subsection "Moose::Exception::MustSpecifyAtleastOneMethod" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::MustSpecifyAtleastOneRole .IX Subsection "Moose::Exception::MustSpecifyAtleastOneRole" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::MustSpecifyAtleastOneRoleToApplicant .IX Subsection "Moose::Exception::MustSpecifyAtleastOneRoleToApplicant" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBapplicant()\fR .SS Moose::Exception::MustSupplyAClassMOPAttributeInstance .IX Subsection "Moose::Exception::MustSupplyAClassMOPAttributeInstance" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustSupplyADelegateToMethod .IX Subsection "Moose::Exception::MustSupplyADelegateToMethod" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustSupplyAMetaclass .IX Subsection "Moose::Exception::MustSupplyAMetaclass" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustSupplyAMooseMetaAttributeInstance .IX Subsection "Moose::Exception::MustSupplyAMooseMetaAttributeInstance" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustSupplyAnAccessorTypeToConstructWith .IX Subsection "Moose::Exception::MustSupplyAnAccessorTypeToConstructWith" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustSupplyAnAttributeToConstructWith .IX Subsection "Moose::Exception::MustSupplyAnAttributeToConstructWith" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustSupplyArrayRefAsCurriedArguments .IX Subsection "Moose::Exception::MustSupplyArrayRefAsCurriedArguments" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::MustSupplyPackageNameAndName .IX Subsection "Moose::Exception::MustSupplyPackageNameAndName" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::NeedsTypeConstraintUnionForTypeCoercionUnion .IX Subsection "Moose::Exception::NeedsTypeConstraintUnionForTypeCoercionUnion" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_coercion_union_object()\fR .Sp Returns a Moose::Meta::TypeCoercion::Union object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::NeitherAttributeNorAttributeNameIsGiven .IX Subsection "Moose::Exception::NeitherAttributeNorAttributeNameIsGiven" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::NeitherClassNorClassNameIsGiven .IX Subsection "Moose::Exception::NeitherClassNorClassNameIsGiven" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::NeitherRoleNorRoleNameIsGiven .IX Subsection "Moose::Exception::NeitherRoleNorRoleNameIsGiven" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::NeitherTypeNorTypeNameIsGiven .IX Subsection "Moose::Exception::NeitherTypeNorTypeNameIsGiven" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::NoAttributeFoundInSuperClass .IX Subsection "Moose::Exception::NoAttributeFoundInSuperClass" This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::InvalidAttributeOptions, and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::NoBodyToInitializeInAnAbstractBaseClass .IX Subsection "Moose::Exception::NoBodyToInitializeInAnAbstractBaseClass" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBpackage_name()\fR .Sp Returns a Str value. .SS Moose::Exception::NoCasesMatched .IX Subsection "Moose::Exception::NoCasesMatched" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBcases_to_be_matched()\fR .Sp Returns an ArrayRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBto_match()\fR .SS Moose::Exception::NoConstraintCheckForTypeConstraint .IX Subsection "Moose::Exception::NoConstraintCheckForTypeConstraint" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::NoDestructorClassSpecified .IX Subsection "Moose::Exception::NoDestructorClassSpecified" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::NoImmutableTraitSpecifiedForClass .IX Subsection "Moose::Exception::NoImmutableTraitSpecifiedForClass" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::NoParentGivenToSubtype .IX Subsection "Moose::Exception::NoParentGivenToSubtype" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBname()\fR .Sp Returns a Str value. .SS Moose::Exception::OnlyInstancesCanBeCloned .IX Subsection "Moose::Exception::OnlyInstancesCanBeCloned" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBinstance()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::OperatorIsRequired .IX Subsection "Moose::Exception::OperatorIsRequired" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::OverloadConflictInSummation .IX Subsection "Moose::Exception::OverloadConflictInSummation" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBoverloaded_op()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_application()\fR .Sp Returns a Moose::Meta::Role::Application::RoleSummation object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_names()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBelements()\fR .Sp 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. .SS Moose::Exception::OverloadRequiresAMetaClass .IX Subsection "Moose::Exception::OverloadRequiresAMetaClass" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::OverloadRequiresAMetaMethod .IX Subsection "Moose::Exception::OverloadRequiresAMetaMethod" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::OverloadRequiresAMetaOverload .IX Subsection "Moose::Exception::OverloadRequiresAMetaOverload" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::OverloadRequiresAMethodNameOrCoderef .IX Subsection "Moose::Exception::OverloadRequiresAMethodNameOrCoderef" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::OverloadRequiresAnOperator .IX Subsection "Moose::Exception::OverloadRequiresAnOperator" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::OverloadRequiresNamesForCoderef .IX Subsection "Moose::Exception::OverloadRequiresNamesForCoderef" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::OverrideConflictInComposition .IX Subsection "Moose::Exception::OverrideConflictInComposition" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_being_applied_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBtwo_overrides_found()\fR .Sp Returns a Bool value. .SS Moose::Exception::OverrideConflictInSummation .IX Subsection "Moose::Exception::OverrideConflictInSummation" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_application()\fR .Sp Returns a Moose::Meta::Role::Application::RoleSummation object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_names()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBelements()\fR .Sp 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. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtwo_overrides_found()\fR .Sp Returns a Bool value. .SS Moose::Exception::PackageDoesNotUseMooseExporter .IX Subsection "Moose::Exception::PackageDoesNotUseMooseExporter" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBis_loaded()\fR .Sp Returns a Bool value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBpackage()\fR .Sp Returns a Str value. .SS Moose::Exception::PackageNameAndNameParamsNotGivenToWrap .IX Subsection "Moose::Exception::PackageNameAndNameParamsNotGivenToWrap" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBcode()\fR .Sp Returns a CodeRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::PackagesAndModulesAreNotCachable .IX Subsection "Moose::Exception::PackagesAndModulesAreNotCachable" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBis_module()\fR .Sp Returns a Bool value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::ParameterIsNotSubtypeOfParent .IX Subsection "Moose::Exception::ParameterIsNotSubtypeOfParent" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_parameter()\fR .Sp Returns a Str value. .SS Moose::Exception::ReferencesAreNotAllowedAsDefault .IX Subsection "Moose::Exception::ReferencesAreNotAllowedAsDefault" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::RequiredAttributeLacksInitialization .IX Subsection "Moose::Exception::RequiredAttributeLacksInitialization" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::RequiredAttributeNeedsADefault .IX Subsection "Moose::Exception::RequiredAttributeNeedsADefault" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::RequiredMethodsImportedByClass .IX Subsection "Moose::Exception::RequiredMethodsImportedByClass" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBimported_method()\fR .Sp Returns a Moose::Meta::Role::Method::Required object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmissing_methods()\fR .Sp Returns an ArrayRef[Moose::Meta::Role::Method::Required] value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::RequiredMethodsNotImplementedByClass .IX Subsection "Moose::Exception::RequiredMethodsNotImplementedByClass" This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBmissing_methods()\fR .Sp Returns an ArrayRef[Moose::Meta::Role::Method::Required] value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::RoleDoesTheExcludedRole .IX Subsection "Moose::Exception::RoleDoesTheExcludedRole" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBexcluded_role_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBsecond_role_name()\fR .Sp Returns a Str value. .SS Moose::Exception::RoleExclusionConflict .IX Subsection "Moose::Exception::RoleExclusionConflict" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBroles()\fR .Sp Returns an ArrayRef value. .SS Moose::Exception::RoleNameRequired .IX Subsection "Moose::Exception::RoleNameRequired" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .SS Moose::Exception::RoleNameRequiredForMooseMetaRole .IX Subsection "Moose::Exception::RoleNameRequiredForMooseMetaRole" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::RolesDoNotSupportAugment .IX Subsection "Moose::Exception::RolesDoNotSupportAugment" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::RolesDoNotSupportExtends .IX Subsection "Moose::Exception::RolesDoNotSupportExtends" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::RolesDoNotSupportInner .IX Subsection "Moose::Exception::RolesDoNotSupportInner" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::RolesDoNotSupportRegexReferencesForMethodModifiers .IX Subsection "Moose::Exception::RolesDoNotSupportRegexReferencesForMethodModifiers" This class consumes the Moose::Exception::Role::Role role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBmodifier_type()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching the class's metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->role_name ); .Ve .SS Moose::Exception::RolesInCreateTakesAnArrayRef .IX Subsection "Moose::Exception::RolesInCreateTakesAnArrayRef" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::RolesListMustBeInstancesOfMooseMetaRole .IX Subsection "Moose::Exception::RolesListMustBeInstancesOfMooseMetaRole" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrole()\fR .SS Moose::Exception::SingleParamsToNewMustBeHashRef .IX Subsection "Moose::Exception::SingleParamsToNewMustBeHashRef" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::TriggerMustBeACodeRef .IX Subsection "Moose::Exception::TriggerMustBeACodeRef" This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::TypeConstraintCannotBeUsedForAParameterizableType .IX Subsection "Moose::Exception::TypeConstraintCannotBeUsedForAParameterizableType" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBparent_type_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->parent_type_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::TypeConstraintIsAlreadyCreated .IX Subsection "Moose::Exception::TypeConstraintIsAlreadyCreated" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBpackage_defined_in()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::TypeParameterMustBeMooseMetaType .IX Subsection "Moose::Exception::TypeParameterMustBeMooseMetaType" This class consumes the Moose::Exception::Role::TypeConstraint role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint): .Sp .Vb 1 \& my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception\->type_name ); .Ve .SS Moose::Exception::UnableToCanonicalizeHandles .IX Subsection "Moose::Exception::UnableToCanonicalizeHandles" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBhandles()\fR .SS Moose::Exception::UnableToCanonicalizeNonRolePackage .IX Subsection "Moose::Exception::UnableToCanonicalizeNonRolePackage" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBhandles()\fR .Sp Returns a Str value. .SS Moose::Exception::UnableToRecognizeDelegateMetaclass .IX Subsection "Moose::Exception::UnableToRecognizeDelegateMetaclass" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBdelegate_metaclass()\fR .SS Moose::Exception::UndefinedHashKeysPassedToMethod .IX Subsection "Moose::Exception::UndefinedHashKeysPassedToMethod" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBhash_keys()\fR .Sp Returns an ArrayRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBmethod_name()\fR .Sp Returns a Str value. .SS Moose::Exception::UnionCalledWithAnArrayRefAndAdditionalArgs .IX Subsection "Moose::Exception::UnionCalledWithAnArrayRefAndAdditionalArgs" This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBargs()\fR .Sp Returns an ArrayRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBarray()\fR .Sp Returns an ArrayRef value. .SS Moose::Exception::UnionTakesAtleastTwoTypeNames .IX Subsection "Moose::Exception::UnionTakesAtleastTwoTypeNames" This class has no attributes except for \f(CW\*(C`message\*(C'\fR and \f(CWtrace()\fR. .SS Moose::Exception::ValidationFailedForInlineTypeConstraint .IX Subsection "Moose::Exception::ValidationFailedForInlineTypeConstraint" This class consumes the Moose::Exception::Role::Class role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass_name()\fR .Sp Returns a Str value. .Sp This attribute can be used for fetching metaclass instance: .Sp .Vb 1 \& my $metaclass_instance = Moose::Util::find_meta( $exception\->class_name ); .Ve .IP \(bu 4 \&\f(CW$exception\fR\->\fBnew_member()\fR .Sp Returns a Bool value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype_constraint_message()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBvalue()\fR .SS Moose::Exception::ValidationFailedForTypeConstraint .IX Subsection "Moose::Exception::ValidationFailedForTypeConstraint" This class consumes the Moose::Exception::Role::Attribute role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute()\fR .Sp Returns a Class::MOP::Attribute object. .IP \(bu 4 \&\f(CW$exception\fR\->\fBtype()\fR .Sp Returns a Moose::Util::TypeConstraints value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBvalue()\fR .SS Moose::Exception::WrapTakesACodeRefToBless .IX Subsection "Moose::Exception::WrapTakesACodeRefToBless" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBclass()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBcode()\fR .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .SS Moose::Exception::WrongTypeConstraintGiven .IX Subsection "Moose::Exception::WrongTypeConstraintGiven" This class consumes the Moose::Exception::Role::ParamsHash role. .PP This class has the following methods: .IP \(bu 4 \&\f(CW$exception\fR\->\fBattribute_name()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBgiven_type()\fR .Sp Returns a Str value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBparams()\fR .Sp Returns a HashRef value. .IP \(bu 4 \&\f(CW$exception\fR\->\fBrequired_type()\fR .Sp Returns a Str value. .SH AUTHORS .IX Header "AUTHORS" .IP \(bu 4 Stevan Little .IP \(bu 4 Dave Rolsky .IP \(bu 4 Jesse Luehrs .IP \(bu 4 Shawn M Moore .IP \(bu 4 יובל קוג'מן (Yuval Kogman) .IP \(bu 4 Karen Etheridge .IP \(bu 4 Florian Ragwitz .IP \(bu 4 Hans Dieter Pearcey .IP \(bu 4 Chris Prather .IP \(bu 4 Matt S Trout .SH "COPYRIGHT AND LICENSE" .IX Header "COPYRIGHT AND LICENSE" This software is copyright (c) 2006 by Infinity Interactive, Inc. .PP This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.