Moose::...Manifest(3)
πΈ NAME πΈ
Moose::Manual::Exceptions::Manifest β aka Moose's Exception Types π (the manpage header is Moose::...Manifest(3), and yeah, it's from the User Contributed Perl Documentation crew)
β¨ VERSION β¨
version 2.4000 π
π DESCRIPTION π
okay bestie, this doc is literally the manifest β the full roster, the whole lineup β of every single exception class that gets thrown as a Moose internal error. Like, all of them. No cap. π
π¦ COMMON ELEMENTS π¦
So unless it says otherwise, every class here is a subclass of Moose::Exception. Every. Single. One. π
And same deal β unless stated otherwise, all of them hand you these attribute reader methods:
π $exception->message π
This one returns the error message for the exception. That's it, that's the whole vibe.
π $exception->trace π
This one returns a Devel::StackTrace object. slay.
π EXCEPTION CLASSES π
Moose ships with the following exception classes, and we're gonna go through every single one because we don't skip. π
π Moose::Exception::AccessorMustReadWrite
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. π«Ά
This class has the following methods:
$exception->attribute_name()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
π Moose::Exception::AddParameterizableTypeTakesParameterizableType
This class has the following methods:
$exception->type_name()β Returns aStrvalue.
π Moose::Exception::AddRoleTakesAMooseMetaRoleInstance
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->role_to_be_added()
π Moose::Exception::AddRoleToARoleTakesAMooseMetaRole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->role_to_be_added()
π Moose::Exception::ApplyTakesABlessedInstance
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->param()$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
π Moose::Exception::AttachToClassNeedsAClassMOPClassInstanceOrASubclass
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()β Returns aClass::MOP::Attributeobject.$exception->class()
π Moose::Exception::AttributeConflictInRoles
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->attribute_name()β Returns aStrvalue.$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->second_role_name()β Returns aStrvalue.
π Moose::Exception::AttributeConflictInSummation
This class consumes the Moose::Exception::Role::AttributeName and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->attribute_name()β Returns aStrvalue.$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->second_role_name()β Returns aStrvalue.
π Moose::Exception::AttributeExtensionIsNotSupportedInRoles
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->attribute_name()β Returns aStrvalue.$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
π Moose::Exception::AttributeIsRequired
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->attribute_init_arg()β Returns aStrvalue.$exception->attribute_name()β Returns aStrvalue.
This attribute can be used for fetching attribute instance:
my $class = Moose::Util::find_meta( $exception->class_name );
my $attribute = $class->get_attribute( $exception->attribute_name );
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()β Returns aHashRefvalue.
π Moose::Exception::AttributeMustBeAnClassMOPMixinAttributeCoreOrSubclass
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->attribute()$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
π Moose::Exception::AttributeNamesDoNotMatch
This class has the following methods:
$exception->attribute()β Returns aClass::MOP::Attributeobject.$exception->attribute_name()β Returns aStrvalue.
π Moose::Exception::AttributeValueIsNotAnObject
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute()β Returns aClass::MOP::Attributeobject.$exception->given_value()$exception->instance()β Returns anObjectvalue.$exception->method()β Returns aMoose::Meta::Method::Delegationobject.
π Moose::Exception::AttributeValueIsNotDefined
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute()β Returns aClass::MOP::Attributeobject.$exception->instance()β Returns anObjectvalue.$exception->method()β Returns aMoose::Meta::Method::Delegationobject.
π Moose::Exception::AutoDeRefNeedsArrayRefOrHashRef
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
π Moose::Exception::BadOptionFormat
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()β Returns aClass::MOP::Attributeobject.$exception->option_name()β Returns aStrvalue.$exception->option_value()
π Moose::Exception::BothBuilderAndDefaultAreNotAllowed
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
π Moose::Exception::BuilderDoesNotExist
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute()β Returns aClass::MOP::Attributeobject.$exception->instance()β Returns anObjectvalue.
π Moose::Exception::BuilderMethodNotSupportedForAttribute
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute()β Returns aClass::MOP::Attributeobject.$exception->instance()β Returns anObjectvalue.
π Moose::Exception::BuilderMethodNotSupportedForInlineAttribute
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute_name()β Returns aStrvalue.$exception->builder()β Returns aStrvalue.$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()β Returns anObjectvalue.
π Moose::Exception::BuilderMustBeAMethodName
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
π Moose::Exception::CallingMethodOnAnImmutableInstance
This class has the following methods:
$exception->method_name()β Returns aStrvalue.
π Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance
This class has the following methods:
$exception->method_name()β Returns aStrvalue.
π Moose::Exception::CanExtendOnlyClasses
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
π Moose::Exception::CanOnlyConsumeRole
This class has the following methods:
$exception->role_name()β Returns aStrvalue.
π Moose::Exception::CanOnlyWrapBlessedCode
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->code()$exception->params()β Returns aHashRefvalue.
π Moose::Exception::CanReblessOnlyIntoASubclass
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, Moose::Exception::Role::InstanceClass, and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()β Returns anObjectvalue.$exception->instance_class()β Returns aStrvalue.$exception->params()
Returns a HashRef value. π
Moose::Exception::CanReblessOnlyIntoASuperclass
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, and Moose::Exception::Role::InstanceClass roles.
This class has the following methods:
$exception->class_name()β returns aStrvalue. β¨
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()β returns anObjectvalue. π¦$exception->instance_class()β returns aStrvalue. π
Moose::Exception::CannotAddAdditionalTypeCoercionsToUnion
This class has the following methods:
$exception->type_coercion_union_object()β returns aMoose::Meta::TypeCoercion::Unionobject. π
Moose::Exception::CannotAddAsAnAttributeToARole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->attribute_class()β returns aStrvalue. πΈ$exception->role_name()β returns aStrvalue. β¨
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotApplyBaseClassRolesToRole
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->params()β returns aHashRefvalue. π$exception->role_name()β returns aStrvalue. β¨
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotAssignValueToReadOnlyAccessor
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::EitherAttributeOrAttributeName roles.
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject. π$exception->attribute_name()β returns aStrvalue. πΈ$exception->class_name()β returns aStrvalue. β¨
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()β returns aHashRefvalue. π$exception->value()β no type annotation on this one bestie, it just gives you the value π
Moose::Exception::CannotAugmentIfLocalMethodPresent
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Method roles.
This class has the following methods:
$exception->class_name()β returns aStrvalue. β¨
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->method()β returns aMoose::Meta::Methodobject. π¦
Moose::Exception::CannotAugmentNoSuperMethod
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β returns aStrvalue. πΈ$exception->method_name()β returns aStrvalue. π$exception->params()β returns aHashRefvalue. π
Moose::Exception::CannotAutoDerefWithoutIsa
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()β returns aStrvalue. πΈ$exception->params()β returns aHashRefvalue. π
Moose::Exception::CannotAutoDereferenceTypeConstraint
This class consumes the Moose::Exception::Role::Attribute, Moose::Exception::Role::Instance, and Moose::Exception::Role::TypeConstraint roles.
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject. π$exception->instance()β returns anObjectvalue. π¦$exception->type_name()β returns aStrvalue. β¨
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CannotCalculateNativeType
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->instance()β returns anObjectvalue. π¦
Moose::Exception::CannotCallAnAbstractBaseMethod
This class has the following methods:
$exception->package_name()β returns aStrvalue. π
Moose::Exception::CannotCallAnAbstractMethod
This class has no attributes except for "message" and trace(). β¨ iconic minimalism β¨
Moose::Exception::CannotCoerceAWeakRef
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()β returns aStrvalue. πΈ$exception->params()β returns aHashRefvalue. π
Moose::Exception::CannotCoerceAttributeWhichHasNoCoercion
This class consumes the Moose::Exception::Role::InvalidAttributeOptions, Moose::Exception::Role::ParamsHash, and Moose::Exception::Role::TypeConstraint roles.
This class has the following methods:
$exception->attribute_name()β returns aStrvalue. πΈ$exception->params()β returns aHashRefvalue. π$exception->type_name()β returns aStrvalue. β¨
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CannotCreateHigherOrderTypeWithoutATypeParameter
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()β returns aStrvalue. β¨
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresent
This class consumes the Moose::Exception::Role::Method and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->aliased_method_name()β returns aStrvalue. πΈ$exception->method()β returns aMoose::Meta::Methodobject. π¦$exception->role_being_applied_name()β returns aStrvalue. π$exception->role_name()β returns aStrvalue. β¨
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresentInClass
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Method, and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->aliased_method_name()β returns aStrvalue. πΈ$exception->class_name()β returns aStrvalue. β¨
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->method()β returns aMoose::Meta::Methodobject. π¦$exception->role_name()β returns aStrvalue. β¨
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotDelegateLocalMethodIsPresent
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Method roles.
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject. π$exception->method()β returns aMoose::Meta::Methodobject. π¦
Moose::Exception::CannotDelegateWithoutIsa
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject. π
Moose::Exception::CannotFindDelegateMetaclass
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject. π
Moose::Exception::CannotFindType
This class has the following methods:
$exception->type_name()β returns aStrvalue. β¨
Moose::Exception::CannotFindTypeGivenToMatchOnType
This class has the following methods:
$exception->action()β no return type listed, it just hands you the action π$exception->to_match()β same deal, no return type noted π«Ά$exception->type()β and again, no return type on this one either π
Moose::Exception::CannotFixMetaclassCompatibility
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β returns aStrvalue. β¨
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->metaclass_type()β returns aStrvalue. π$exception->superclass()β returns anObjectvalue. π¦
Moose::Exception::CannotGenerateInlineConstraint
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->parameterizable_type_object_name()β returns aStrvalue. β¨
This attribute can be used for fetching parameterizable type constraint(Moose::Meta::TypeConstraint::Parameterizable):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
$exception->type_name()β returns aStrvalue. β¨
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
$exception->value()β returns aStrvalue. πΈ
Moose::Exception::CannotInitializeMooseMetaRoleComposite
This class has the following methods:
$exception->args()β returns anArrayRefvalue. π$exception->old_meta()β no return type given, it just gives you the old meta π«Ά$exception->role_composite()β returns aMoose::Meta::Role::Compositeobject. π
Moose::Exception::CannotInlineTypeConstraintCheck
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()β returns aStrvalue. β¨
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CannotLocatePackageInINC
okay so this one consumes the Moose::Exception::Role::ParamsHash role. π
The methods it's got:
$exception->INC()β hands you back an ArrayRef value.$exception->metaclass_name()β hands you back a Str value.$exception->params()β hands you back a HashRef value.$exception->possible_packages()β hands you back a Str value.$exception->type()β hands you back a Str value.
Moose::Exception::CannotMakeMetaclassCompatible
this one consumes the Moose::Exception::Role::Class role β¨
The methods it's got:
$exception->class_name()β hands you back a Str value.
bestie you can use this attribute to fetch the metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->superclass_name()β hands you back a Str value.
Moose::Exception::CannotOverrideALocalMethod
this one consumes the Moose::Exception::Role::Role role π
The methods it's got:
$exception->method_name()β hands you back a Str value.$exception->role_name()β hands you back a Str value.
and you can use this attribute to fetch the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotOverrideBodyOfMetaMethods
this one consumes the Moose::Exception::Role::ParamsHash role π¦
The methods it's got:
$exception->class()β hands you back a Str value.$exception->params()β hands you back a HashRef value.
Moose::Exception::CannotOverrideLocalMethodIsPresent
this one consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Method roles πΈ
The methods it's got:
$exception->class_name()β hands you back a Str value.
and this attribute? yeah you can use it to fetch the metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->method()β hands you back a Moose::Meta::Method object.
Moose::Exception::CannotOverrideNoSuperMethod
this one consumes the Moose::Exception::Role::ParamsHash role π
The methods it's got:
$exception->class()β hands you back a Str value.$exception->method_name()β hands you back a Str value.$exception->params()β hands you back a HashRef value.
Moose::Exception::CannotRegisterUnnamedTypeConstraint
this class has no attributes except for "message" and trace(). that's it. that's the whole vibe π
Moose::Exception::CannotUseLazyBuildAndDefaultSimultaneously
this one consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles π«Ά
The methods it's got:
$exception->attribute_name()β hands you back a Str value.$exception->params()β hands you back a HashRef value.
Moose::Exception::CircularReferenceInAlso
The methods it's got:
$exception->also_parameter()β hands you back a Str value.$exception->stack()β hands you back an ArrayRef value.
Moose::Exception::ClassDoesNotHaveInitMeta
this one consumes the Moose::Exception::Role::Class role π
The methods it's got:
$exception->class_name()β hands you back a Str value.
use this attribute to fetch the metaclass instance, periodt:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->traits()β hands you back an ArrayRef value.
Moose::Exception::ClassDoesTheExcludedRole
this one consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles π₯
The methods it's got:
$exception->class_name()β hands you back a Str value.
this attribute can be used for fetching the metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->excluded_role_name()β hands you back a Str value.$exception->role_name()β hands you back a Str value.
this attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::ClassNamesDoNotMatch
The methods it's got:
$exception->class()β hands you back a Class::MOP::Class object.$exception->class_name()β hands you back a Str value.
Moose::Exception::CloneObjectExpectsAnInstanceOfMetaclass
this one consumes the Moose::Exception::Role::Class role π
The methods it's got:
$exception->class_name()β hands you back a Str value.
this attribute can be used for fetching the metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()
Moose::Exception::CodeBlockMustBeACodeRef
this one consumes the Moose::Exception::Role::Instance and Moose::Exception::Role::ParamsHash roles π
The methods it's got:
$exception->instance()β hands you back an Object value.$exception->params()β hands you back a HashRef value.
Moose::Exception::CoercingWithoutCoercions
this one consumes the Moose::Exception::Role::TypeConstraint role β
The methods it's got:
$exception->type_name()β hands you back a Str value.
this attribute can be used for fetching the type constraint (Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CoercionAlreadyExists
this one consumes the Moose::Exception::Role::Instance role π
The methods it's got:
$exception->constraint_name()β hands you back a Str value.$exception->instance()β hands you back an Object value.
Moose::Exception::CoercionNeedsTypeConstraint
this one consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles π§
The methods it's got:
$exception->attribute_name()β hands you back a Str value.$exception->params()β hands you back a HashRef value.
Moose::Exception::ConflictDetectedInCheckRoleExclusions
this one consumes the Moose::Exception::Role::Role role π
The methods it's got:
$exception->excluded_role_name()β hands you back a Str value.$exception->role_name()β hands you back a Str value.
this attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::ConflictDetectedInCheckRoleExclusionsInToClass
this one consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles π
The methods it's got:
$exception->class_name()β hands you back a Str value.
this attribute can be used for fetching the metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->role_name()β hands you back a Str value.
this attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::ConstructClassInstanceTakesPackageName
this class has no attributes except for "message" and trace(). iconic. nothing else to say π
Moose::Exception::CouldNotCreateMethod
this one consumes the Moose::Exception::Role::Attribute role β¨
The methods it's got:
$exception->attribute()β hands you back a Class::MOP::Attribute object.$exception->error()β hands you back a Str value.$exception->option_name()β hands you back a Str value.$exception->option_value()
Moose::Exception::CouldNotCreateWriter
this one consumes the Moose::Exception::Role::EitherAttributeOrAttributeName and Moose::Exception::Role::Instance roles π
The methods it's got:
$exception->attribute()β hands you back a Class::MOP::Attribute object.$exception->attribute_name()β hands you back a Str value.$exception->error()β hands you back a Str value.$exception->instance()β hands you back an Object value.$exception->params()β hands you back a HashRef value.
Moose::Exception::CouldNotEvalConstructor
The methods it's got:
$exception->constructor_method()β hands you back a Class::MOP::Method::Constructor object.$exception->error()β hands you back a Str value.$exception->source()β hands you back a Str value.
Moose::Exception::CouldNotEvalDestructor
The methods it's got:
$exception->error()β hands you back a Str value.$exception->method_destructor_object()β hands you back a Moose::Meta::Method::Destructor object.$exception->source()β hands you back a Str value.
Moose::Exception::CouldNotFindTypeConstraintToCoerceFrom
this one consumes the Moose::Exception::Role::Instance role π¦
The methods it's got:
$exception->constraint_name()β hands you back a Str value.$exception->instance()β hands you back an Object value.
Moose::Exception::CouldNotGenerateInlineAttributeMethod
this one consumes the Moose::Exception::Role::Instance role πΈ
The methods it's got:
$exception->error()β hands you back a Moose::Exception|Str value.$exception->instance()β hands you back an Object value.$exception->option()β hands you back a Str value.
Moose::Exception::CouldNotLocateTypeConstraintForUnion
this one consumes the Moose::Exception::Role::TypeConstraint role π«Ά
The methods it's got:
$exception->type_name()β hands you back a Str value.
this attribute can be used for fetching the type constraint (Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CouldNotParseType
The methods it's got:
$exception->position()β hands you back an Int value.$exception->type()β hands you back a Str value.
Moose::Exception::CreateMOPClassTakesArrayRefOfAttributes
this one consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles π
The methods it's got:
$exception->class()β hands you back a Str value.$exception->params()β hands you back a HashRef value.
Moose::Exception::CreateMOPClassTakesArrayRefOfSuperclasses
this one consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles π₯
This class has the following methods:
$exception->class()β hands you aStrvalue back π$exception->params()β hands you aHashRefvalue back β¨
πΈ Moose::Exception::CreateMOPClassTakesHashRefOfMethods
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles. She's got range, she contains multitudes π
This class has the following methods:
$exception->class()β returns aStrvalue π$exception->params()β returns aHashRefvalue π
π¦ Moose::Exception::CreateTakesArrayRefOfRoles
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles.
This class has the following methods:
$exception->attribute_class()β returns aStrvalue β¨$exception->params()β returns aHashRefvalue β¨
π Moose::Exception::CreateTakesHashRefOfAttributes
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles.
This class has the following methods:
$exception->attribute_class()β returns aStrvalue π$exception->params()β returns aHashRefvalue π
β Moose::Exception::CreateTakesHashRefOfMethods
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles.
This class has the following methods:
$exception->attribute_class()β returns aStrvalue π«Ά$exception->params()β returns aHashRefvalue π«Ά
π Moose::Exception::DefaultToMatchOnTypeMustBeCodeRef
This class has the following methods:
$exception->cases_to_be_matched()β returns anArrayRefvalue π$exception->default_action()β literally just vibes, no documented return bestie π$exception->to_match()β same, no return type listed, she's mysterious π
π§ Moose::Exception::DelegationToAClassWhichIsNotLoaded
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject π₯$exception->class_name()β returns aStrvalue π₯
π Moose::Exception::DelegationToARoleWhichIsNotLoaded
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject β¨$exception->role_name()β returns aStrvalue β¨
π Moose::Exception::DelegationToATypeWhichIsNotAClass
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject πΈ
π Moose::Exception::DoesRequiresRoleName
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β returns aStrvalue π
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
π Moose::Exception::EnumCalledWithAnArrayRefAndAdditionalArgs
This class has the following methods:
$exception->args()β returns anArrayRefvalue π$exception->array()β returns anArrayRefvalue π
π«Ά Moose::Exception::EnumValuesMustBeString
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β returns aStrvalue β$exception->params()β returns aHashRefvalue β$exception->value()β no return type given, she's just out here existing π
π₯ Moose::Exception::ExtendsMissingArgs
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β returns aStrvalue π
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
π§ Moose::Exception::HandlesMustBeAHashRef
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->given_handles()β no return type listed, keep scrolling bestie π$exception->instance()β returns anObjectvalue π
β¨ Moose::Exception::IllegalInheritedOptions
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->illegal_options()β returns anArrayRefvalue π$exception->params()β returns aHashRefvalue π
πΈ Moose::Exception::IllegalMethodTypeToAddMethodModifier
This class has the following methods:
$exception->class_or_object()β no return type, mysterious queen π$exception->modifier_name()β returns aStrvalue π$exception->params()β returns anArrayRefvalue π
π Moose::Exception::IncompatibleMetaclassOfSuperclass
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_meta_type()β returns aStrvalue β$exception->class_name()β returns aStrvalue β
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->superclass_meta_type()β returns aStrvalue β$exception->superclass_name()β returns aStrvalue β
π Moose::Exception::InitMetaRequiresClass
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->params()β returns aHashRefvalue π¦
π Moose::Exception::InitializeTakesUnBlessedPackageName
This class has the following methods:
$exception->package_name()β no return type documented, that's all she gives us π
π«Ά Moose::Exception::InstanceBlessedIntoWrongClass
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, and Moose::Exception::Role::ParamsHash roles. Three roles, one icon π
This class has the following methods:
$exception->class_name()β returns aStrvalue π₯
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()β returns anObjectvalue π₯$exception->params()β returns aHashRefvalue π₯
π§ Moose::Exception::InstanceMustBeABlessedReference
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()β returns aStrvalue β¨
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()β no return type listed, iconic and unknowable π$exception->params()β returns aHashRefvalue β¨
π Moose::Exception::InvalidArgPassedToMooseUtilMetaRole
This class has the following methods:
$exception->argument()β no return type given, she's keeping it cute and vague π
π Moose::Exception::InvalidArgumentToMethod
This class has the following methods:
$exception->argument()β no return type, sorry bestie π$exception->argument_noun()β returns aStrvalue π$exception->method_name()β returns aStrvalue π$exception->ordinal()β returns aStrvalue π$exception->type()β returns aStrvalue π$exception->type_of_argument()β returns aStrvalue π
πΈ Moose::Exception::InvalidArgumentsToTraitAliases
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->alias()β no return type documented π$exception->class_name()β returns aStrvalue π
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->package_name()β returns aStrvalue π
β Moose::Exception::InvalidBaseTypeGivenToCreateParameterizedTypeConstraint
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()β returns aStrvalue π
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Note the double space in that line, bestie β it's = Moose::Util.... Copy it exactly, no cap π«Ά
π¦ Moose::Exception::InvalidHandleValue
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->handle_value()β no return type listed π$exception->instance()β returns anObjectvalue π
π Moose::Exception::InvalidHasProvidedInARole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->attribute_name()β returns aStrvalue π$exception->role_name()β returns aStrvalue π
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
π§ Moose::Exception::InvalidNameForType
This class has the following methods:
$exception->name()β returns aStrvalue β¨
π₯ Moose::Exception::InvalidOverloadOperator
This class has the following methods:
$exception->operator()β returns aDefinedvalue π
π Moose::Exception::InvalidRoleApplication
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->application()β no return type documented π$exception->class_name()β returns aStrvalue π
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
π Moose::Exception::InvalidTypeConstraint
This class has the following methods:
$exception->registry_object()β returns aMoose::Meta::TypeConstraint::Registryobject π₯$exception->type()β no return type, mysterious π
π«Ά Moose::Exception::InvalidTypeGivenToCreateParameterizedTypeConstraint
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()β returns aStrvalue πΈ
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Same double space situation as before β keep it exactly as written, no editing π
π Moose::Exception::InvalidValueForIs
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()β returns aStrvalue β$exception->params()β returns aHashRefvalue β
π Moose::Exception::IsaDoesNotDoTheRole
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()β returns aStrvalue π¦$exception->params()β returns aHashRefvalue π¦
Moose::Exception::IsaLacksDoesMethod π¦
okay so this class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles, bestie. it's giving very role-heavy π
This class has the following methods:
$exception->attribute_name()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
Moose::Exception::LazyAttributeNeedsADefault π΄
This class consumes the Moose::Exception::Role::EitherAttributeOrAttributeName role.
This class has the following methods:
$exception->attribute()β Returns aClass::MOP::Attributeobject.$exception->attribute_name()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
Moose::Exception::Legacy π
This class has no attributes except for "message" and trace(). that's it, that's the whole class, and honestly? iconic minimalism β¨
Moose::Exception::MOPAttributeNewNeedsAttributeName π
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
Moose::Exception::MatchActionMustBeACodeRef π₯
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->action()$exception->to_match()$exception->type_name()β Returns aStrvalue.
fr fr, this attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::MessageParameterMustBeCodeRef π¬
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
Moose::Exception::MetaclassIsAClassNotASubclassOfGivenMetaclass πΈ
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
this attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->metaclass()β Returns aStrvalue.
Moose::Exception::MetaclassIsARoleNotASubclassOfGivenMetaclass π§
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->metaclass()β Returns aStrvalue.$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::MetaclassIsNotASubclassOfGivenMetaclass π
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->metaclass()β Returns aStrvalue.
Moose::Exception::MetaclassMustBeASubclassOfMooseMetaClass π
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MetaclassMustBeASubclassOfMooseMetaRole β
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::MetaclassMustBeDerivedFromClassMOPClass π
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
Moose::Exception::MetaclassNotLoaded π¦
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MetaclassTypeIncompatible π
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->metaclass_type()β Returns aStrvalue.$exception->superclass_name()β Returns aStrvalue.
Moose::Exception::MethodExpectedAMetaclassObject π¦
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->metaclass()
Moose::Exception::MethodExpectsFewerArgs π€
This class has the following methods:
$exception->maximum_args()β Returns anIntvalue.$exception->method_name()β Returns aStrvalue.
Moose::Exception::MethodExpectsMoreArgs π
This class has the following methods:
$exception->method_name()β Returns aStrvalue.$exception->minimum_args()β Returns anIntvalue.
Moose::Exception::MethodModifierNeedsMethodName β¨
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MethodNameConflictInRoles βοΈ
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->conflict()β Returns anArrayRef[Moose::Meta::Role::Method::Conflicting]value.
Moose::Exception::MethodNameNotFoundInInheritanceHierarchy π
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->method_name()β Returns aStrvalue.
Moose::Exception::MethodNameNotGiven π€·
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MustDefineAMethodName π
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->instance()β Returns anObjectvalue.
Moose::Exception::MustDefineAnAttributeName π·οΈ
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()β Returns aStrvalue.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MustDefineAnOverloadOperator β
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->instance()β Returns anObjectvalue.
Moose::Exception::MustHaveAtLeastOneValueToEnumerate π’
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
Moose::Exception::MustPassAHashOfOptions ποΈ
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
Moose::Exception::MustPassAMooseMetaRoleInstanceOrSubclass π
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->role()
Moose::Exception::MustPassAPackageNameOrAnExistingClassMOPPackageInstance π¦
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()$exception->params()β Returns aHashRefvalue.
Moose::Exception::MustPassEvenNumberOfArguments βοΈ
This class has the following methods:
$exception->args()β Returns anArrayRefvalue.$exception->method_name()β Returns aStrvalue.
Moose::Exception::MustPassEvenNumberOfAttributeOptions π―
This class has the following methods:
$exception->attribute_name()β Returns aStrvalue.$exception->options()β Returns anArrayRefvalue.
Moose::Exception::MustProvideANameForTheAttribute π
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->params()β Returns aHashRefvalue.
Moose::Exception::MustSpecifyAtleastOneMethod π οΈ
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::MustSpecifyAtleastOneRole πͺ
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()β Returns aStrvalue.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::MustSpecifyAtleastOneRoleToApplicant π«Ά
This class has the following methods:
$exception->applicant()
Moose::Exception::MustSupplyAClassMOPAttributeInstance π
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns aStrvalue.$exception->params()β hands you back a HashRef value. π
Moose::Exception::MustSupplyADelegateToMethod π
This class consumes the Moose::Exception::Role::ParamsHash role. Lowkey a whole mood.
This class has the following methods:
$exception->class()β Returns a Str value.$exception->params()β Returns a HashRef value.
Moose::Exception::MustSupplyAMetaclass π
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns a Str value.$exception->params()β Returns a HashRef value.
Moose::Exception::MustSupplyAMooseMetaAttributeInstance β¨
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns a Str value.$exception->params()β Returns a HashRef value.
Moose::Exception::MustSupplyAnAccessorTypeToConstructWith πΈ
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns a Str value.$exception->params()β Returns a HashRef value.
Moose::Exception::MustSupplyAnAttributeToConstructWith π¦
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns a Str value.$exception->params()β Returns a HashRef value.
Moose::Exception::MustSupplyArrayRefAsCurriedArguments π
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles. Two roles, one icon.
This class has the following methods:
$exception->class_name()β Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()β Returns a HashRef value.
Moose::Exception::MustSupplyPackageNameAndName π
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns a Str value.$exception->params()β Returns a HashRef value.
Moose::Exception::NeedsTypeConstraintUnionForTypeCoercionUnion π§
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_coercion_union_object()β Returns aMoose::Meta::TypeCoercion::Unionobject.$exception->type_name()β Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::NeitherAttributeNorAttributeNameIsGiven π
This class has no attributes except for "message" and trace().
Moose::Exception::NeitherClassNorClassNameIsGiven π
This class has no attributes except for "message" and trace().
Moose::Exception::NeitherRoleNorRoleNameIsGiven π
This class has no attributes except for "message" and trace().
Moose::Exception::NeitherTypeNorTypeNameIsGiven π
This class has no attributes except for "message" and trace().
Moose::Exception::NoAttributeFoundInSuperClass π₯
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::InvalidAttributeOptions, and Moose::Exception::Role::ParamsHash roles. Three roles, bestie, it's giving overachiever.
This class has the following methods:
$exception->attribute_name()β Returns a Str value.$exception->class_name()β Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()β Returns a HashRef value.
Moose::Exception::NoBodyToInitializeInAnAbstractBaseClass π«Ά
This class has the following methods:
$exception->package_name()β Returns a Str value.
Moose::Exception::NoCasesMatched π
This class has the following methods:
$exception->cases_to_be_matched()β Returns an ArrayRef value.$exception->to_match()
Moose::Exception::NoConstraintCheckForTypeConstraint π
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()β Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::NoDestructorClassSpecified β
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()β Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()β Returns a HashRef value.
Moose::Exception::NoImmutableTraitSpecifiedForClass π
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()β Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()β Returns a HashRef value.
Moose::Exception::NoParentGivenToSubtype π
This class has the following methods:
$exception->name()β Returns a Str value.
Moose::Exception::OnlyInstancesCanBeCloned π
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()β Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()$exception->params()β Returns a HashRef value.
Moose::Exception::OperatorIsRequired π
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns a Str value.$exception->params()β Returns a HashRef value.
Moose::Exception::OverloadConflictInSummation π
This class has the following methods:
$exception->overloaded_op()β Returns a Str value.$exception->role_application()β Returns aMoose::Meta::Role::Application::RoleSummationobject.$exception->role_names()$exception->elements()
This attribute is an ArrayRef containing role names, if you want metaobjects associated with these role names, then call method roles on the exception object.
Moose::Exception::OverloadRequiresAMetaClass π
This class has no attributes except for "message" and trace().
Moose::Exception::OverloadRequiresAMetaMethod π
This class has no attributes except for "message" and trace().
Moose::Exception::OverloadRequiresAMetaOverload π
This class has no attributes except for "message" and trace().
Moose::Exception::OverloadRequiresAMethodNameOrCoderef π
This class has no attributes except for "message" and trace().
Moose::Exception::OverloadRequiresAnOperator π
This class has no attributes except for "message" and trace().
Moose::Exception::OverloadRequiresNamesForCoderef π
This class has no attributes except for "message" and trace().
Moose::Exception::OverrideConflictInComposition π¦
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->method_name()β Returns a Str value.$exception->role_being_applied_name()β Returns a Str value.$exception->role_name()β Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->two_overrides_found()β Returns a Bool value.
Moose::Exception::OverrideConflictInSummation πΈ
This class has the following methods:
$exception->method_name()β Returns a Str value.$exception->role_application()β Returns aMoose::Meta::Role::Application::RoleSummationobject.$exception->role_names()$exception->elements()
This attribute is an ArrayRef containing role names, if you want metaobjects associated with these role names, then call method roles on the exception object.
$exception->two_overrides_found()β Returns a Bool value.
Moose::Exception::PackageDoesNotUseMooseExporter π
This class has the following methods:
$exception->is_loaded()β Returns a Bool value.$exception->package()β Returns a Str value.
Moose::Exception::PackageNameAndNameParamsNotGivenToWrap β¨
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()β Returns a Str value.$exception->code()β Returns a CodeRef value.$exception->params()β Returns a HashRef value.
Moose::Exception::PackagesAndModulesAreNotCachable π₯
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()β Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->is_module()β Returns a Bool value.$exception->params()β Returns a HashRef value.
Moose::Exception::ParameterIsNotSubtypeOfParent π
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()β Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
$exception->type_parameter()β Returns a Str value.
Moose::Exception::ReferencesAreNotAllowedAsDefault π
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->attribute_name()β Returns a Str value.$exception->class()β Returns a Str value.$exception->params()β Returns a HashRef value.
π«Ά Moose::Exception::RequiredAttributeLacksInitialization
okay so this class consumes the Moose::Exception::Role::ParamsHash role. periodt.
This class has the following methods:
$exception->class()β hands you back aStrvalue. π$exception->params()β hands you back aHashRefvalue.
πΈ Moose::Exception::RequiredAttributeNeedsADefault
this one consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. double slay. β¨
This class has the following methods:
$exception->attribute_name()β returns aStrvalue.$exception->params()β returns aHashRefvalue.
π¦ Moose::Exception::RequiredMethodsImportedByClass
consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles. π
This class has the following methods:
$exception->class_name()β returns aStrvalue.
bestie, this attribute can be used for fetching the metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->imported_method()β returns aMoose::Meta::Role::Method::Requiredobject.$exception->missing_methods()β returns anArrayRef[Moose::Meta::Role::Method::Required]value.$exception->role_name()β returns aStrvalue.
this attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
π Moose::Exception::RequiredMethodsNotImplementedByClass
consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles. iconic. π
This class has the following methods:
$exception->class_name()β returns aStrvalue.
this attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->missing_methods()β returns anArrayRef[Moose::Meta::Role::Method::Required]value.$exception->role_name()β returns aStrvalue.
this attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
π Moose::Exception::RoleDoesTheExcludedRole
consumes the Moose::Exception::Role::Role role. π
This class has the following methods:
$exception->excluded_role_name()β returns aStrvalue.$exception->role_name()β returns aStrvalue.
this attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->second_role_name()β returns aStrvalue.
π Moose::Exception::RoleExclusionConflict
consumes the Moose::Exception::Role::Role role. fr fr. π«Ά
This class has the following methods:
$exception->role_name()β returns aStrvalue.
this attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->roles()β returns anArrayRefvalue.
β Moose::Exception::RoleNameRequired
consumes the Moose::Exception::Role::Class role. π
This class has the following methods:
$exception->class_name()β returns aStrvalue.
this attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
π§ Moose::Exception::RoleNameRequiredForMooseMetaRole
consumes the Moose::Exception::Role::Role role. no cap. β¨
This class has the following methods:
$exception->role_name()β returns aStrvalue.
this attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
π Moose::Exception::RolesDoNotSupportAugment
this class has no attributes except for "message" and trace(). that's it, that's the whole vibe. π
π Moose::Exception::RolesDoNotSupportExtends
same energy: no attributes except for "message" and trace(). π
π Moose::Exception::RolesDoNotSupportInner
no attributes except for "message" and trace(). periodt. π
π₯ Moose::Exception::RolesDoNotSupportRegexReferencesForMethodModifiers
consumes the Moose::Exception::Role::Role role. πΈ
This class has the following methods:
$exception->modifier_type()β returns aStrvalue.$exception->role_name()β returns aStrvalue.
this attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
π Moose::Exception::RolesInCreateTakesAnArrayRef
consumes the Moose::Exception::Role::ParamsHash role. π¦
This class has the following methods:
$exception->params()β returns aHashRefvalue.
π Moose::Exception::RolesListMustBeInstancesOfMooseMetaRole
consumes the Moose::Exception::Role::ParamsHash role. π
This class has the following methods:
$exception->class()β returns aStrvalue.$exception->params()β returns aHashRefvalue.$exception->role()
π§ Moose::Exception::SingleParamsToNewMustBeHashRef
no attributes except for "message" and trace(). that's the whole thing, bestie. π
π Moose::Exception::TriggerMustBeACodeRef
consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles. β¨
This class has the following methods:
$exception->attribute_name()β returns aStrvalue.$exception->params()β returns aHashRefvalue.
π Moose::Exception::TypeConstraintCannotBeUsedForAParameterizableType
consumes the Moose::Exception::Role::TypeConstraint role. π
This class has the following methods:
$exception->parent_type_name()β returns aStrvalue.
this attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->parent_type_name );
$exception->type_name()β returns aStrvalue.
this attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
π Moose::Exception::TypeConstraintIsAlreadyCreated
consumes the Moose::Exception::Role::TypeConstraint role. π₯
This class has the following methods:
$exception->package_defined_in()β returns aStrvalue.$exception->type_name()β returns aStrvalue.
this attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
πΈ Moose::Exception::TypeParameterMustBeMooseMetaType
consumes the Moose::Exception::Role::TypeConstraint role. π«Ά
This class has the following methods:
$exception->type_name()β returns aStrvalue.
this attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
π¦ Moose::Exception::UnableToCanonicalizeHandles
consumes the Moose::Exception::Role::Attribute role. π
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject.$exception->handles()
π Moose::Exception::UnableToCanonicalizeNonRolePackage
consumes the Moose::Exception::Role::Attribute role. β¨
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject.$exception->handles()β returns aStrvalue.
π Moose::Exception::UnableToRecognizeDelegateMetaclass
consumes the Moose::Exception::Role::Attribute role. π
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject.$exception->delegate_metaclass()
β Moose::Exception::UndefinedHashKeysPassedToMethod
This class has the following methods:
$exception->hash_keys()β returns anArrayRefvalue.$exception->method_name()β returns aStrvalue.
π Moose::Exception::UnionCalledWithAnArrayRefAndAdditionalArgs
This class has the following methods:
$exception->args()β returns anArrayRefvalue.$exception->array()β returns anArrayRefvalue.
π Moose::Exception::UnionTakesAtleastTwoTypeNames
no attributes except for "message" and trace(). that's the whole serve. π
π§ Moose::Exception::ValidationFailedForInlineTypeConstraint
consumes the Moose::Exception::Role::Class role. πΈ
This class has the following methods:
$exception->attribute_name()β returns aStrvalue.$exception->class_name()β returns aStrvalue.
this attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->new_member()β returns aBoolvalue.$exception->type_constraint_message()β returns aStrvalue.$exception->value()
π Moose::Exception::ValidationFailedForTypeConstraint
consumes the Moose::Exception::Role::Attribute role. π¦
This class has the following methods:
$exception->attribute()β returns aClass::MOP::Attributeobject.$exception->type()β returns aMoose::Util::TypeConstraintsvalue.$exception->value()
π Moose::Exception::WrapTakesACodeRefToBless
consumes the Moose::Exception::Role::ParamsHash role. π
This class has the following methods:
$exception->class()β returns aStrvalue.$exception->code()$exception->params()β returns aHashRefvalue.
π₯ Moose::Exception::WrongTypeConstraintGiven
consumes the Moose::Exception::Role::ParamsHash role. β¨
This class has the following methods:
$exception->attribute_name()β returns aStrvalue.$exception->given_type()β returns aStrvalue.$exception->params()β returns aHashRefvalue.$exception->required_type()β returns aStrvalue.
β¨ AUTHORS β¨
Okay so this page was built by a whole squad, and honestly? It's giving collaborative slay. π Shoutout to every single one of these icons:
- Stevan Little <stevan@cpan.org>
- Dave Rolsky <autarch@urth.org>
- Jesse Luehrs <doy@cpan.org>
- Shawn M Moore <sartak@cpan.org>
- ΧΧΧΧ Χ§ΧΧ'ΧΧ (Yuval Kogman) <nothingmuch@woobling.org>
- Karen Etheridge <ether@cpan.org>
- Florian Ragwitz <rafl@debian.org>
- Hans Dieter Pearcey <hdp@cpan.org>
- Chris Prather <chris@prather.org>
- Matt S Trout <mstrout@cpan.org>
Ten whole legends. Not one, not two, ten. The group chat that actually shipped. π«Άβ¨
π COPYRIGHT AND LICENSE π
Bestie, the legal tea, served warm: π
This software is copyright (c) 2006 by Infinity Interactive, Inc.
And the license? Iconic behaviour only:
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
That's it. That's the whole vibe. Free as in go off, fr fr. ππ
And that's a wrap on this whole page, bestie! π¦ This bad boy came from perl v5.42.0, dated 2025-07-25 β and it was generated as Moose::...Manifest(3) over in the User Contributed Perl Documentation corner of the world. Now go forth and read a manifest. Slay. π πΈπ
π¦ where this page comes from
- fedora 43: perl-Moose 2.4000-4.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms