-
-
07 Nov 2021 03:41:58 UTC
- Distribution: Moose
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (71)
- Testers (2647 / 3 / 1)
- Kwalitee
Bus factor: 3- 92.11% Coverage
- License: perl_5
- Perl: v5.8.3
- Activity
24 month- Tools
- Download (881.54KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 142 contributors-
Stevan Little
-
Dave Rolsky
-
Jesse Luehrs
-
Shawn M Moore
-
ΧΧΧΧ Χ§ΧΧ'ΧΧ (Yuval Kogman)
-
Florian Ragwitz
-
Hans Dieter Pearcey
-
Chris Prather
-
Matt S Trout
-
Upasana Shukla
-
Graham Knop
-
Tomas Doran
-
Ricardo Signes
-
Guillermo Roditi
-
John Napiorkowski
-
Aankhen
-
Todd Hepler
-
Jonathan Rockway
-
Gerda Shank
-
Perlover
-
Shlomi Fish
-
Brad Bowman
-
Justin Hunter
-
Kent Fredric
-
Paul Driver
-
Anders Nor Berle
-
Brian Manning
-
gfx
-
Jay Hannah
-
Lars DΙͺα΄α΄α΄α΄α΄‘ θΏͺζζ―
-
Leon Brocard
-
Olivier MenguΓ©
-
Rafael Kitover
-
Christian Hansen
-
Cory Watson
-
Dagfinn Ilmari MannsΓ₯ker
-
Paul Jamieson Fenwick
-
Robert Buels
-
Dan Dascalescu
-
Marcel GrΓΌnauer
-
Scott McWhirter
-
Γvar ArnfjΓΆrΓ° Bjarmason
-
Daisuke Maki (lestrrat)
-
Dylan William Hardison
-
Patrick Donelan
-
Stefan O'Rear
-
Tokuhiro Matsuno
-
Ash Berlin
-
Chris Weyl
-
Eric Wilhelm
-
Jess Robinson
-
Marc Mims
-
Marcus Ramberg
-
Mark Allen
-
Mateu X Hunter
-
matthof
-
Robert 'phaylon' Sedlacek
-
Zachary Lome
-
Aran Clary Deltac
-
Chip
-
Christopher J. Madsen
-
Curtis Jewell
-
Evan Carroll
-
Mark A. Stratman
-
Mark Fowler
-
Matthew Horsfall
-
mauke
-
Michael LaGrasta
-
Michael Rykov
-
Mike Whitaker
-
Moritz Onken
-
Nelo Onyiah
-
Nick Perez
-
Robert Boone
-
Robin V
-
rodrigolive
-
shelling
-
Thomas Sibley
-
Tom Hukins
-
Wallace Reis
-
Aaron Cohen
-
Adam J. Foxson
-
Adam Kennedy
-
Andy Jack
-
Anirvan Chatterjee
-
Ansgar Burchardt
-
A. Sinan Unur
-
Ben Hutton
-
Brendan Byrd
-
Chad Granum
-
Chankey Pathak
-
Chia-liang Kao
-
Christian Walde (Mithaldu)
-
chromatic
-
Dann
-
Dave Romano
-
David Leadbeater
-
David Steinbrunner
-
dmaestro
-
E. Choroba
-
franck cuny
-
Frew Schmidt
-
gregor herrmann
-
hakim
-
Henry Van Styn
-
James Marca
-
Jason May
-
Jay Allen
-
Jay Kuri
-
Jeff Bisbee
-
Jens Berthold
-
Jesse Vincent
-
joel
-
John Douglas Porter
-
John Goulah
-
Justin DeVuyst
-
Kang-min Liu
-
Leon Timmermans
-
Mark O Grady
-
Matt Kraai
-
Michael Schout
-
Nathan Gray
-
Olaf Alders
-
Olof Johansson
-
Paul Cochrane
-
PaweΕ Murias
-
Pedro Melo
-
Peter Shangov
-
Philippe Bruhat (BooK)
-
Philipp Gortan
-
Phillip Smith
-
Piotr Roszatycki
-
pktm
-
rouzier
-
Sam Vilain
-
sherrardb
-
Simon Reinhardt
-
sue spence
-
Tuomas Jormola
-
wickline
-
Yanick Champoux
-
Zoffix Znet
- Dependencies
- Carp
- Class::Load
- Class::Load::XS
- Data::OptList
- Devel::GlobalDestruction
- Devel::OverloadInfo
- Devel::StackTrace
- Dist::CheckConflicts
- Eval::Closure
- List::Util
- MRO::Compat
- Module::Runtime
- Module::Runtime::Conflicts
- Package::DeprecationManager
- Package::Stash
- Package::Stash::XS
- Params::Util
- Scalar::Util
- Sub::Exporter
- Sub::Util
- Try::Tiny
- parent
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME
- VERSION
- DESCRIPTION
- COMMON ELEMENTS
- EXCEPTION CLASSES
- Moose::Exception::AccessorMustReadWrite
- Moose::Exception::AddParameterizableTypeTakesParameterizableType
- Moose::Exception::AddRoleTakesAMooseMetaRoleInstance
- Moose::Exception::AddRoleToARoleTakesAMooseMetaRole
- Moose::Exception::ApplyTakesABlessedInstance
- Moose::Exception::AttachToClassNeedsAClassMOPClassInstanceOrASubclass
- Moose::Exception::AttributeConflictInRoles
- Moose::Exception::AttributeConflictInSummation
- Moose::Exception::AttributeExtensionIsNotSupportedInRoles
- Moose::Exception::AttributeIsRequired
- Moose::Exception::AttributeMustBeAnClassMOPMixinAttributeCoreOrSubclass
- Moose::Exception::AttributeNamesDoNotMatch
- Moose::Exception::AttributeValueIsNotAnObject
- Moose::Exception::AttributeValueIsNotDefined
- Moose::Exception::AutoDeRefNeedsArrayRefOrHashRef
- Moose::Exception::BadOptionFormat
- Moose::Exception::BothBuilderAndDefaultAreNotAllowed
- Moose::Exception::BuilderDoesNotExist
- Moose::Exception::BuilderMethodNotSupportedForAttribute
- Moose::Exception::BuilderMethodNotSupportedForInlineAttribute
- Moose::Exception::BuilderMustBeAMethodName
- Moose::Exception::CallingMethodOnAnImmutableInstance
- Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance
- Moose::Exception::CanExtendOnlyClasses
- Moose::Exception::CanOnlyConsumeRole
- Moose::Exception::CanOnlyWrapBlessedCode
- Moose::Exception::CanReblessOnlyIntoASubclass
- Moose::Exception::CanReblessOnlyIntoASuperclass
- Moose::Exception::CannotAddAdditionalTypeCoercionsToUnion
- Moose::Exception::CannotAddAsAnAttributeToARole
- Moose::Exception::CannotApplyBaseClassRolesToRole
- Moose::Exception::CannotAssignValueToReadOnlyAccessor
- Moose::Exception::CannotAugmentIfLocalMethodPresent
- Moose::Exception::CannotAugmentNoSuperMethod
- Moose::Exception::CannotAutoDerefWithoutIsa
- Moose::Exception::CannotAutoDereferenceTypeConstraint
- Moose::Exception::CannotCalculateNativeType
- Moose::Exception::CannotCallAnAbstractBaseMethod
- Moose::Exception::CannotCallAnAbstractMethod
- Moose::Exception::CannotCoerceAWeakRef
- Moose::Exception::CannotCoerceAttributeWhichHasNoCoercion
- Moose::Exception::CannotCreateHigherOrderTypeWithoutATypeParameter
- Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresent
- Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresentInClass
- Moose::Exception::CannotDelegateLocalMethodIsPresent
- Moose::Exception::CannotDelegateWithoutIsa
- Moose::Exception::CannotFindDelegateMetaclass
- Moose::Exception::CannotFindType
- Moose::Exception::CannotFindTypeGivenToMatchOnType
- Moose::Exception::CannotFixMetaclassCompatibility
- Moose::Exception::CannotGenerateInlineConstraint
- Moose::Exception::CannotInitializeMooseMetaRoleComposite
- Moose::Exception::CannotInlineTypeConstraintCheck
- Moose::Exception::CannotLocatePackageInINC
- Moose::Exception::CannotMakeMetaclassCompatible
- Moose::Exception::CannotOverrideALocalMethod
- Moose::Exception::CannotOverrideBodyOfMetaMethods
- Moose::Exception::CannotOverrideLocalMethodIsPresent
- Moose::Exception::CannotOverrideNoSuperMethod
- Moose::Exception::CannotRegisterUnnamedTypeConstraint
- Moose::Exception::CannotUseLazyBuildAndDefaultSimultaneously
- Moose::Exception::CircularReferenceInAlso
- Moose::Exception::ClassDoesNotHaveInitMeta
- Moose::Exception::ClassDoesTheExcludedRole
- Moose::Exception::ClassNamesDoNotMatch
- Moose::Exception::CloneObjectExpectsAnInstanceOfMetaclass
- Moose::Exception::CodeBlockMustBeACodeRef
- Moose::Exception::CoercingWithoutCoercions
- Moose::Exception::CoercionAlreadyExists
- Moose::Exception::CoercionNeedsTypeConstraint
- Moose::Exception::ConflictDetectedInCheckRoleExclusions
- Moose::Exception::ConflictDetectedInCheckRoleExclusionsInToClass
- Moose::Exception::ConstructClassInstanceTakesPackageName
- Moose::Exception::CouldNotCreateMethod
- Moose::Exception::CouldNotCreateWriter
- Moose::Exception::CouldNotEvalConstructor
- Moose::Exception::CouldNotEvalDestructor
- Moose::Exception::CouldNotFindTypeConstraintToCoerceFrom
- Moose::Exception::CouldNotGenerateInlineAttributeMethod
- Moose::Exception::CouldNotLocateTypeConstraintForUnion
- Moose::Exception::CouldNotParseType
- Moose::Exception::CreateMOPClassTakesArrayRefOfAttributes
- Moose::Exception::CreateMOPClassTakesArrayRefOfSuperclasses
- Moose::Exception::CreateMOPClassTakesHashRefOfMethods
- Moose::Exception::CreateTakesArrayRefOfRoles
- Moose::Exception::CreateTakesHashRefOfAttributes
- Moose::Exception::CreateTakesHashRefOfMethods
- Moose::Exception::DefaultToMatchOnTypeMustBeCodeRef
- Moose::Exception::DelegationToAClassWhichIsNotLoaded
- Moose::Exception::DelegationToARoleWhichIsNotLoaded
- Moose::Exception::DelegationToATypeWhichIsNotAClass
- Moose::Exception::DoesRequiresRoleName
- Moose::Exception::EnumCalledWithAnArrayRefAndAdditionalArgs
- Moose::Exception::EnumValuesMustBeString
- Moose::Exception::ExtendsMissingArgs
- Moose::Exception::HandlesMustBeAHashRef
- Moose::Exception::IllegalInheritedOptions
- Moose::Exception::IllegalMethodTypeToAddMethodModifier
- Moose::Exception::IncompatibleMetaclassOfSuperclass
- Moose::Exception::InitMetaRequiresClass
- Moose::Exception::InitializeTakesUnBlessedPackageName
- Moose::Exception::InstanceBlessedIntoWrongClass
- Moose::Exception::InstanceMustBeABlessedReference
- Moose::Exception::InvalidArgPassedToMooseUtilMetaRole
- Moose::Exception::InvalidArgumentToMethod
- Moose::Exception::InvalidArgumentsToTraitAliases
- Moose::Exception::InvalidBaseTypeGivenToCreateParameterizedTypeConstraint
- Moose::Exception::InvalidHandleValue
- Moose::Exception::InvalidHasProvidedInARole
- Moose::Exception::InvalidNameForType
- Moose::Exception::InvalidOverloadOperator
- Moose::Exception::InvalidRoleApplication
- Moose::Exception::InvalidTypeConstraint
- Moose::Exception::InvalidTypeGivenToCreateParameterizedTypeConstraint
- Moose::Exception::InvalidValueForIs
- Moose::Exception::IsaDoesNotDoTheRole
- Moose::Exception::IsaLacksDoesMethod
- Moose::Exception::LazyAttributeNeedsADefault
- Moose::Exception::Legacy
- Moose::Exception::MOPAttributeNewNeedsAttributeName
- Moose::Exception::MatchActionMustBeACodeRef
- Moose::Exception::MessageParameterMustBeCodeRef
- Moose::Exception::MetaclassIsAClassNotASubclassOfGivenMetaclass
- Moose::Exception::MetaclassIsARoleNotASubclassOfGivenMetaclass
- Moose::Exception::MetaclassIsNotASubclassOfGivenMetaclass
- Moose::Exception::MetaclassMustBeASubclassOfMooseMetaClass
- Moose::Exception::MetaclassMustBeASubclassOfMooseMetaRole
- Moose::Exception::MetaclassMustBeDerivedFromClassMOPClass
- Moose::Exception::MetaclassNotLoaded
- Moose::Exception::MetaclassTypeIncompatible
- Moose::Exception::MethodExpectedAMetaclassObject
- Moose::Exception::MethodExpectsFewerArgs
- Moose::Exception::MethodExpectsMoreArgs
- Moose::Exception::MethodModifierNeedsMethodName
- Moose::Exception::MethodNameConflictInRoles
- Moose::Exception::MethodNameNotFoundInInheritanceHierarchy
- Moose::Exception::MethodNameNotGiven
- Moose::Exception::MustDefineAMethodName
- Moose::Exception::MustDefineAnAttributeName
- Moose::Exception::MustDefineAnOverloadOperator
- Moose::Exception::MustHaveAtLeastOneValueToEnumerate
- Moose::Exception::MustPassAHashOfOptions
- Moose::Exception::MustPassAMooseMetaRoleInstanceOrSubclass
- Moose::Exception::MustPassAPackageNameOrAnExistingClassMOPPackageInstance
- Moose::Exception::MustPassEvenNumberOfArguments
- Moose::Exception::MustPassEvenNumberOfAttributeOptions
- Moose::Exception::MustProvideANameForTheAttribute
- Moose::Exception::MustSpecifyAtleastOneMethod
- Moose::Exception::MustSpecifyAtleastOneRole
- Moose::Exception::MustSpecifyAtleastOneRoleToApplicant
- Moose::Exception::MustSupplyAClassMOPAttributeInstance
- Moose::Exception::MustSupplyADelegateToMethod
- Moose::Exception::MustSupplyAMetaclass
- Moose::Exception::MustSupplyAMooseMetaAttributeInstance
- Moose::Exception::MustSupplyAnAccessorTypeToConstructWith
- Moose::Exception::MustSupplyAnAttributeToConstructWith
- Moose::Exception::MustSupplyArrayRefAsCurriedArguments
- Moose::Exception::MustSupplyPackageNameAndName
- Moose::Exception::NeedsTypeConstraintUnionForTypeCoercionUnion
- Moose::Exception::NeitherAttributeNorAttributeNameIsGiven
- Moose::Exception::NeitherClassNorClassNameIsGiven
- Moose::Exception::NeitherRoleNorRoleNameIsGiven
- Moose::Exception::NeitherTypeNorTypeNameIsGiven
- Moose::Exception::NoAttributeFoundInSuperClass
- Moose::Exception::NoBodyToInitializeInAnAbstractBaseClass
- Moose::Exception::NoCasesMatched
- Moose::Exception::NoConstraintCheckForTypeConstraint
- Moose::Exception::NoDestructorClassSpecified
- Moose::Exception::NoImmutableTraitSpecifiedForClass
- Moose::Exception::NoParentGivenToSubtype
- Moose::Exception::OnlyInstancesCanBeCloned
- Moose::Exception::OperatorIsRequired
- Moose::Exception::OverloadConflictInSummation
- Moose::Exception::OverloadRequiresAMetaClass
- Moose::Exception::OverloadRequiresAMetaMethod
- Moose::Exception::OverloadRequiresAMetaOverload
- Moose::Exception::OverloadRequiresAMethodNameOrCoderef
- Moose::Exception::OverloadRequiresAnOperator
- Moose::Exception::OverloadRequiresNamesForCoderef
- Moose::Exception::OverrideConflictInComposition
- Moose::Exception::OverrideConflictInSummation
- Moose::Exception::PackageDoesNotUseMooseExporter
- Moose::Exception::PackageNameAndNameParamsNotGivenToWrap
- Moose::Exception::PackagesAndModulesAreNotCachable
- Moose::Exception::ParameterIsNotSubtypeOfParent
- Moose::Exception::ReferencesAreNotAllowedAsDefault
- Moose::Exception::RequiredAttributeLacksInitialization
- Moose::Exception::RequiredAttributeNeedsADefault
- Moose::Exception::RequiredMethodsImportedByClass
- Moose::Exception::RequiredMethodsNotImplementedByClass
- Moose::Exception::RoleDoesTheExcludedRole
- Moose::Exception::RoleExclusionConflict
- Moose::Exception::RoleNameRequired
- Moose::Exception::RoleNameRequiredForMooseMetaRole
- Moose::Exception::RolesDoNotSupportAugment
- Moose::Exception::RolesDoNotSupportExtends
- Moose::Exception::RolesDoNotSupportInner
- Moose::Exception::RolesDoNotSupportRegexReferencesForMethodModifiers
- Moose::Exception::RolesInCreateTakesAnArrayRef
- Moose::Exception::RolesListMustBeInstancesOfMooseMetaRole
- Moose::Exception::SingleParamsToNewMustBeHashRef
- Moose::Exception::TriggerMustBeACodeRef
- Moose::Exception::TypeConstraintCannotBeUsedForAParameterizableType
- Moose::Exception::TypeConstraintIsAlreadyCreated
- Moose::Exception::TypeParameterMustBeMooseMetaType
- Moose::Exception::UnableToCanonicalizeHandles
- Moose::Exception::UnableToCanonicalizeNonRolePackage
- Moose::Exception::UnableToRecognizeDelegateMetaclass
- Moose::Exception::UndefinedHashKeysPassedToMethod
- Moose::Exception::UnionCalledWithAnArrayRefAndAdditionalArgs
- Moose::Exception::UnionTakesAtleastTwoTypeNames
- Moose::Exception::ValidationFailedForInlineTypeConstraint
- Moose::Exception::ValidationFailedForTypeConstraint
- Moose::Exception::WrapTakesACodeRefToBless
- Moose::Exception::WrongTypeConstraintGiven
- AUTHORS
- COPYRIGHT AND LICENSE
NAME
Moose::Manual::Exceptions::Manifest - Moose's Exception Types
VERSION
version 2.2201
DESCRIPTION
This document contains a manifest of all the exception classes that are thrown as Moose internal errors.
COMMON ELEMENTS
Unless otherwise stated, all classes are subclasses of Moose::Exception.
Similarly, all classes provide the following attribute reader methods:
$exception->message
This method returns the error message for the exception.
$exception->trace
This method returns a Devel::StackTrace object.
EXCEPTION CLASSES
Moose ships with the following exception classes:
Moose::Exception::AccessorMustReadWrite
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::AddParameterizableTypeTakesParameterizableType
This class has the following methods:
$exception->type_name()
Returns a Str value.
Moose::Exception::AddRoleTakesAMooseMetaRoleInstance
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->role_to_be_added()
Moose::Exception::AddRoleToARoleTakesAMooseMetaRole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->role_to_be_added()
Moose::Exception::ApplyTakesABlessedInstance
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->param()
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::AttachToClassNeedsAClassMOPClassInstanceOrASubclass
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->class()
Moose::Exception::AttributeConflictInRoles
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->second_role_name()
Returns a Str value.
Moose::Exception::AttributeConflictInSummation
This class consumes the Moose::Exception::Role::AttributeName and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->second_role_name()
Returns a Str value.
Moose::Exception::AttributeExtensionIsNotSupportedInRoles
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::AttributeIsRequired
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->attribute_init_arg()
Returns a Str value.
$exception->attribute_name()
Returns a Str value.
This attribute can be used for fetching attribute instance:
my $class = Moose::Util::find_meta( $exception->class_name ); my $attribute = $class->get_attribute( $exception->attribute_name );
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()
Returns a HashRef value.
Moose::Exception::AttributeMustBeAnClassMOPMixinAttributeCoreOrSubclass
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->attribute()
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::AttributeNamesDoNotMatch
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->attribute_name()
Returns a Str value.
Moose::Exception::AttributeValueIsNotAnObject
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->given_value()
$exception->instance()
Returns an Object value.
$exception->method()
Returns a Moose::Meta::Method::Delegation object.
Moose::Exception::AttributeValueIsNotDefined
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->instance()
Returns an Object value.
$exception->method()
Returns a Moose::Meta::Method::Delegation object.
Moose::Exception::AutoDeRefNeedsArrayRefOrHashRef
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::BadOptionFormat
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->option_name()
Returns a Str value.
$exception->option_value()
Moose::Exception::BothBuilderAndDefaultAreNotAllowed
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::BuilderDoesNotExist
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->instance()
Returns an Object value.
Moose::Exception::BuilderMethodNotSupportedForAttribute
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->instance()
Returns an Object value.
Moose::Exception::BuilderMethodNotSupportedForInlineAttribute
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->builder()
Returns a Str value.
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()
Returns an Object value.
Moose::Exception::BuilderMustBeAMethodName
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CallingMethodOnAnImmutableInstance
This class has the following methods:
$exception->method_name()
Returns a Str value.
Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance
This class has the following methods:
$exception->method_name()
Returns a Str value.
Moose::Exception::CanExtendOnlyClasses
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CanOnlyConsumeRole
This class has the following methods:
$exception->role_name()
Returns a Str value.
Moose::Exception::CanOnlyWrapBlessedCode
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->code()
$exception->params()
Returns a HashRef value.
Moose::Exception::CanReblessOnlyIntoASubclass
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, Moose::Exception::Role::InstanceClass, and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()
Returns an Object value.
$exception->instance_class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CanReblessOnlyIntoASuperclass
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, and Moose::Exception::Role::InstanceClass roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()
Returns an Object value.
$exception->instance_class()
Returns a Str value.
Moose::Exception::CannotAddAdditionalTypeCoercionsToUnion
This class has the following methods:
$exception->type_coercion_union_object()
Returns a Moose::Meta::TypeCoercion::Union object.
Moose::Exception::CannotAddAsAnAttributeToARole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->attribute_class()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotApplyBaseClassRolesToRole
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->params()
Returns a HashRef value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotAssignValueToReadOnlyAccessor
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::EitherAttributeOrAttributeName roles.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->attribute_name()
Returns a Str value.
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()
Returns a HashRef value.
$exception->value()
Moose::Exception::CannotAugmentIfLocalMethodPresent
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Method roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->method()
Returns a Moose::Meta::Method object.
Moose::Exception::CannotAugmentNoSuperMethod
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->method_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CannotAutoDerefWithoutIsa
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CannotAutoDereferenceTypeConstraint
This class consumes the Moose::Exception::Role::Attribute, Moose::Exception::Role::Instance, and Moose::Exception::Role::TypeConstraint roles.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->instance()
Returns an Object value.
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CannotCalculateNativeType
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->instance()
Returns an Object value.
Moose::Exception::CannotCallAnAbstractBaseMethod
This class has the following methods:
$exception->package_name()
Returns a Str value.
Moose::Exception::CannotCallAnAbstractMethod
This class has no attributes except for
message
andtrace()
.Moose::Exception::CannotCoerceAWeakRef
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CannotCoerceAttributeWhichHasNoCoercion
This class consumes the Moose::Exception::Role::InvalidAttributeOptions, Moose::Exception::Role::ParamsHash, and Moose::Exception::Role::TypeConstraint roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CannotCreateHigherOrderTypeWithoutATypeParameter
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresent
This class consumes the Moose::Exception::Role::Method and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->aliased_method_name()
Returns a Str value.
$exception->method()
Returns a Moose::Meta::Method object.
$exception->role_being_applied_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresentInClass
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Method, and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->aliased_method_name()
Returns a Str value.
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->method()
Returns a Moose::Meta::Method object.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotDelegateLocalMethodIsPresent
This class consumes the Moose::Exception::Role::Attribute and Moose::Exception::Role::Method roles.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->method()
Returns a Moose::Meta::Method object.
Moose::Exception::CannotDelegateWithoutIsa
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
Moose::Exception::CannotFindDelegateMetaclass
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
Moose::Exception::CannotFindType
This class has the following methods:
$exception->type_name()
Returns a Str value.
Moose::Exception::CannotFindTypeGivenToMatchOnType
This class has the following methods:
$exception->action()
$exception->to_match()
$exception->type()
Moose::Exception::CannotFixMetaclassCompatibility
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->metaclass_type()
Returns a Str value.
$exception->superclass()
Returns an Object value.
Moose::Exception::CannotGenerateInlineConstraint
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->parameterizable_type_object_name()
Returns a Str value.
This attribute can be used for fetching parameterizable type constraint(Moose::Meta::TypeConstraint::Parameterizable):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
$exception->value()
Returns a Str value.
Moose::Exception::CannotInitializeMooseMetaRoleComposite
This class has the following methods:
$exception->args()
Returns an ArrayRef value.
$exception->old_meta()
$exception->role_composite()
Returns a Moose::Meta::Role::Composite object.
Moose::Exception::CannotInlineTypeConstraintCheck
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CannotLocatePackageInINC
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->INC()
Returns an ArrayRef value.
$exception->metaclass_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
$exception->possible_packages()
Returns a Str value.
$exception->type()
Returns a Str value.
Moose::Exception::CannotMakeMetaclassCompatible
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->superclass_name()
Returns a Str value.
Moose::Exception::CannotOverrideALocalMethod
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->method_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::CannotOverrideBodyOfMetaMethods
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CannotOverrideLocalMethodIsPresent
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Method roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->method()
Returns a Moose::Meta::Method object.
Moose::Exception::CannotOverrideNoSuperMethod
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->method_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CannotRegisterUnnamedTypeConstraint
This class has no attributes except for
message
andtrace()
.Moose::Exception::CannotUseLazyBuildAndDefaultSimultaneously
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CircularReferenceInAlso
This class has the following methods:
$exception->also_parameter()
Returns a Str value.
$exception->stack()
Returns an ArrayRef value.
Moose::Exception::ClassDoesNotHaveInitMeta
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->traits()
Returns an ArrayRef value.
Moose::Exception::ClassDoesTheExcludedRole
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->excluded_role_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::ClassNamesDoNotMatch
This class has the following methods:
$exception->class()
Returns a Class::MOP::Class object.
$exception->class_name()
Returns a Str value.
Moose::Exception::CloneObjectExpectsAnInstanceOfMetaclass
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()
Moose::Exception::CodeBlockMustBeACodeRef
This class consumes the Moose::Exception::Role::Instance and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->instance()
Returns an Object value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CoercingWithoutCoercions
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CoercionAlreadyExists
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->constraint_name()
Returns a Str value.
$exception->instance()
Returns an Object value.
Moose::Exception::CoercionNeedsTypeConstraint
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::ConflictDetectedInCheckRoleExclusions
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->excluded_role_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::ConflictDetectedInCheckRoleExclusionsInToClass
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::ConstructClassInstanceTakesPackageName
This class has no attributes except for
message
andtrace()
.Moose::Exception::CouldNotCreateMethod
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->error()
Returns a Str value.
$exception->option_name()
Returns a Str value.
$exception->option_value()
Moose::Exception::CouldNotCreateWriter
This class consumes the Moose::Exception::Role::EitherAttributeOrAttributeName and Moose::Exception::Role::Instance roles.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->attribute_name()
Returns a Str value.
$exception->error()
Returns a Str value.
$exception->instance()
Returns an Object value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CouldNotEvalConstructor
This class has the following methods:
$exception->constructor_method()
Returns a Class::MOP::Method::Constructor object.
$exception->error()
Returns a Str value.
$exception->source()
Returns a Str value.
Moose::Exception::CouldNotEvalDestructor
This class has the following methods:
$exception->error()
Returns a Str value.
$exception->method_destructor_object()
Returns a Moose::Meta::Method::Destructor object.
$exception->source()
Returns a Str value.
Moose::Exception::CouldNotFindTypeConstraintToCoerceFrom
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->constraint_name()
Returns a Str value.
$exception->instance()
Returns an Object value.
Moose::Exception::CouldNotGenerateInlineAttributeMethod
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->error()
Returns a Moose::Exception|Str value.
$exception->instance()
Returns an Object value.
$exception->option()
Returns a Str value.
Moose::Exception::CouldNotLocateTypeConstraintForUnion
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::CouldNotParseType
This class has the following methods:
$exception->position()
Returns an Int value.
$exception->type()
Returns a Str value.
Moose::Exception::CreateMOPClassTakesArrayRefOfAttributes
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CreateMOPClassTakesArrayRefOfSuperclasses
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CreateMOPClassTakesHashRefOfMethods
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreateMOPClass roles.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CreateTakesArrayRefOfRoles
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles.
This class has the following methods:
$exception->attribute_class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CreateTakesHashRefOfAttributes
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles.
This class has the following methods:
$exception->attribute_class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::CreateTakesHashRefOfMethods
This class consumes the Moose::Exception::Role::ParamsHash and Moose::Exception::Role::RoleForCreate roles.
This class has the following methods:
$exception->attribute_class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::DefaultToMatchOnTypeMustBeCodeRef
This class has the following methods:
$exception->cases_to_be_matched()
Returns an ArrayRef value.
$exception->default_action()
$exception->to_match()
Moose::Exception::DelegationToAClassWhichIsNotLoaded
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->class_name()
Returns a Str value.
Moose::Exception::DelegationToARoleWhichIsNotLoaded
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->role_name()
Returns a Str value.
Moose::Exception::DelegationToATypeWhichIsNotAClass
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
Moose::Exception::DoesRequiresRoleName
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::EnumCalledWithAnArrayRefAndAdditionalArgs
This class has the following methods:
$exception->args()
Returns an ArrayRef value.
$exception->array()
Returns an ArrayRef value.
Moose::Exception::EnumValuesMustBeString
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
$exception->value()
Moose::Exception::ExtendsMissingArgs
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::HandlesMustBeAHashRef
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->given_handles()
$exception->instance()
Returns an Object value.
Moose::Exception::IllegalInheritedOptions
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->illegal_options()
Returns an ArrayRef value.
$exception->params()
Returns a HashRef value.
Moose::Exception::IllegalMethodTypeToAddMethodModifier
This class has the following methods:
$exception->class_or_object()
$exception->modifier_name()
Returns a Str value.
$exception->params()
Returns an ArrayRef value.
Moose::Exception::IncompatibleMetaclassOfSuperclass
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_meta_type()
Returns a Str value.
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->superclass_meta_type()
Returns a Str value.
$exception->superclass_name()
Returns a Str value.
Moose::Exception::InitMetaRequiresClass
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->params()
Returns a HashRef value.
Moose::Exception::InitializeTakesUnBlessedPackageName
This class has the following methods:
$exception->package_name()
Moose::Exception::InstanceBlessedIntoWrongClass
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::Instance, and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()
Returns an Object value.
$exception->params()
Returns a HashRef value.
Moose::Exception::InstanceMustBeABlessedReference
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()
$exception->params()
Returns a HashRef value.
Moose::Exception::InvalidArgPassedToMooseUtilMetaRole
This class has the following methods:
$exception->argument()
Moose::Exception::InvalidArgumentToMethod
This class has the following methods:
$exception->argument()
$exception->argument_noun()
Returns a Str value.
$exception->method_name()
Returns a Str value.
$exception->ordinal()
Returns a Str value.
$exception->type()
Returns a Str value.
$exception->type_of_argument()
Returns a Str value.
Moose::Exception::InvalidArgumentsToTraitAliases
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->alias()
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->package_name()
Returns a Str value.
Moose::Exception::InvalidBaseTypeGivenToCreateParameterizedTypeConstraint
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::InvalidHandleValue
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->handle_value()
$exception->instance()
Returns an Object value.
Moose::Exception::InvalidHasProvidedInARole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::InvalidNameForType
This class has the following methods:
$exception->name()
Returns a Str value.
Moose::Exception::InvalidOverloadOperator
This class has the following methods:
$exception->operator()
Returns a Defined value.
Moose::Exception::InvalidRoleApplication
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->application()
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::InvalidTypeConstraint
This class has the following methods:
$exception->registry_object()
Returns a Moose::Meta::TypeConstraint::Registry object.
$exception->type()
Moose::Exception::InvalidTypeGivenToCreateParameterizedTypeConstraint
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::InvalidValueForIs
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::IsaDoesNotDoTheRole
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::IsaLacksDoesMethod
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::LazyAttributeNeedsADefault
This class consumes the Moose::Exception::Role::EitherAttributeOrAttributeName role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::Legacy
This class has no attributes except for
message
andtrace()
.Moose::Exception::MOPAttributeNewNeedsAttributeName
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MatchActionMustBeACodeRef
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->action()
$exception->to_match()
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::MessageParameterMustBeCodeRef
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MetaclassIsAClassNotASubclassOfGivenMetaclass
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->metaclass()
Returns a Str value.
Moose::Exception::MetaclassIsARoleNotASubclassOfGivenMetaclass
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->metaclass()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::MetaclassIsNotASubclassOfGivenMetaclass
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->metaclass()
Returns a Str value.
Moose::Exception::MetaclassMustBeASubclassOfMooseMetaClass
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MetaclassMustBeASubclassOfMooseMetaRole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::MetaclassMustBeDerivedFromClassMOPClass
This class has the following methods:
$exception->class_name()
Returns a Str value.
Moose::Exception::MetaclassNotLoaded
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MetaclassTypeIncompatible
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->metaclass_type()
Returns a Str value.
$exception->superclass_name()
Returns a Str value.
Moose::Exception::MethodExpectedAMetaclassObject
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->metaclass()
Moose::Exception::MethodExpectsFewerArgs
This class has the following methods:
$exception->maximum_args()
Returns an Int value.
$exception->method_name()
Returns a Str value.
Moose::Exception::MethodExpectsMoreArgs
This class has the following methods:
$exception->method_name()
Returns a Str value.
$exception->minimum_args()
Returns an Int value.
Moose::Exception::MethodModifierNeedsMethodName
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MethodNameConflictInRoles
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->conflict()
Returns an ArrayRef[Moose::Meta::Role::Method::Conflicting] value.
Moose::Exception::MethodNameNotFoundInInheritanceHierarchy
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->method_name()
Returns a Str value.
Moose::Exception::MethodNameNotGiven
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MustDefineAMethodName
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->instance()
Returns an Object value.
Moose::Exception::MustDefineAnAttributeName
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::MustDefineAnOverloadOperator
This class consumes the Moose::Exception::Role::Instance role.
This class has the following methods:
$exception->instance()
Returns an Object value.
Moose::Exception::MustHaveAtLeastOneValueToEnumerate
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MustPassAHashOfOptions
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MustPassAMooseMetaRoleInstanceOrSubclass
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->role()
Moose::Exception::MustPassAPackageNameOrAnExistingClassMOPPackageInstance
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
$exception->params()
Returns a HashRef value.
Moose::Exception::MustPassEvenNumberOfArguments
This class has the following methods:
$exception->args()
Returns an ArrayRef value.
$exception->method_name()
Returns a Str value.
Moose::Exception::MustPassEvenNumberOfAttributeOptions
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->options()
Returns an ArrayRef value.
Moose::Exception::MustProvideANameForTheAttribute
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MustSpecifyAtleastOneMethod
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::MustSpecifyAtleastOneRole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::MustSpecifyAtleastOneRoleToApplicant
This class has the following methods:
$exception->applicant()
Moose::Exception::MustSupplyAClassMOPAttributeInstance
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MustSupplyADelegateToMethod
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MustSupplyAMetaclass
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MustSupplyAMooseMetaAttributeInstance
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MustSupplyAnAccessorTypeToConstructWith
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MustSupplyAnAttributeToConstructWith
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::MustSupplyArrayRefAsCurriedArguments
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()
Returns a HashRef value.
Moose::Exception::MustSupplyPackageNameAndName
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::NeedsTypeConstraintUnionForTypeCoercionUnion
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_coercion_union_object()
Returns a Moose::Meta::TypeCoercion::Union object.
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::NeitherAttributeNorAttributeNameIsGiven
This class has no attributes except for
message
andtrace()
.Moose::Exception::NeitherClassNorClassNameIsGiven
This class has no attributes except for
message
andtrace()
.Moose::Exception::NeitherRoleNorRoleNameIsGiven
This class has no attributes except for
message
andtrace()
.Moose::Exception::NeitherTypeNorTypeNameIsGiven
This class has no attributes except for
message
andtrace()
.Moose::Exception::NoAttributeFoundInSuperClass
This class consumes the Moose::Exception::Role::Class, Moose::Exception::Role::InvalidAttributeOptions, and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()
Returns a HashRef value.
Moose::Exception::NoBodyToInitializeInAnAbstractBaseClass
This class has the following methods:
$exception->package_name()
Returns a Str value.
Moose::Exception::NoCasesMatched
This class has the following methods:
$exception->cases_to_be_matched()
Returns an ArrayRef value.
$exception->to_match()
Moose::Exception::NoConstraintCheckForTypeConstraint
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::NoDestructorClassSpecified
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()
Returns a HashRef value.
Moose::Exception::NoImmutableTraitSpecifiedForClass
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->params()
Returns a HashRef value.
Moose::Exception::NoParentGivenToSubtype
This class has the following methods:
$exception->name()
Returns a Str value.
Moose::Exception::OnlyInstancesCanBeCloned
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->instance()
$exception->params()
Returns a HashRef value.
Moose::Exception::OperatorIsRequired
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::OverloadConflictInSummation
This class has the following methods:
$exception->overloaded_op()
Returns a Str value.
$exception->role_application()
Returns a Moose::Meta::Role::Application::RoleSummation object.
$exception->role_names()
$exception->elements()
This attribute is an ArrayRef containing role names, if you want metaobjects associated with these role names, then call method roles on the exception object.
Moose::Exception::OverloadRequiresAMetaClass
This class has no attributes except for
message
andtrace()
.Moose::Exception::OverloadRequiresAMetaMethod
This class has no attributes except for
message
andtrace()
.Moose::Exception::OverloadRequiresAMetaOverload
This class has no attributes except for
message
andtrace()
.Moose::Exception::OverloadRequiresAMethodNameOrCoderef
This class has no attributes except for
message
andtrace()
.Moose::Exception::OverloadRequiresAnOperator
This class has no attributes except for
message
andtrace()
.Moose::Exception::OverloadRequiresNamesForCoderef
This class has no attributes except for
message
andtrace()
.Moose::Exception::OverrideConflictInComposition
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->method_name()
Returns a Str value.
$exception->role_being_applied_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->two_overrides_found()
Returns a Bool value.
Moose::Exception::OverrideConflictInSummation
This class has the following methods:
$exception->method_name()
Returns a Str value.
$exception->role_application()
Returns a Moose::Meta::Role::Application::RoleSummation object.
$exception->role_names()
$exception->elements()
This attribute is an ArrayRef containing role names, if you want metaobjects associated with these role names, then call method roles on the exception object.
$exception->two_overrides_found()
Returns a Bool value.
Moose::Exception::PackageDoesNotUseMooseExporter
This class has the following methods:
$exception->is_loaded()
Returns a Bool value.
$exception->package()
Returns a Str value.
Moose::Exception::PackageNameAndNameParamsNotGivenToWrap
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->code()
Returns a CodeRef value.
$exception->params()
Returns a HashRef value.
Moose::Exception::PackagesAndModulesAreNotCachable
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->is_module()
Returns a Bool value.
$exception->params()
Returns a HashRef value.
Moose::Exception::ParameterIsNotSubtypeOfParent
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
$exception->type_parameter()
Returns a Str value.
Moose::Exception::ReferencesAreNotAllowedAsDefault
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::RequiredAttributeLacksInitialization
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::RequiredAttributeNeedsADefault
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::RequiredMethodsImportedByClass
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->imported_method()
Returns a Moose::Meta::Role::Method::Required object.
$exception->missing_methods()
Returns an ArrayRef[Moose::Meta::Role::Method::Required] value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::RequiredMethodsNotImplementedByClass
This class consumes the Moose::Exception::Role::Class and Moose::Exception::Role::Role roles.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->missing_methods()
Returns an ArrayRef[Moose::Meta::Role::Method::Required] value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::RoleDoesTheExcludedRole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->excluded_role_name()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->second_role_name()
Returns a Str value.
Moose::Exception::RoleExclusionConflict
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
$exception->roles()
Returns an ArrayRef value.
Moose::Exception::RoleNameRequired
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
Moose::Exception::RoleNameRequiredForMooseMetaRole
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::RolesDoNotSupportAugment
This class has no attributes except for
message
andtrace()
.Moose::Exception::RolesDoNotSupportExtends
This class has no attributes except for
message
andtrace()
.Moose::Exception::RolesDoNotSupportInner
This class has no attributes except for
message
andtrace()
.Moose::Exception::RolesDoNotSupportRegexReferencesForMethodModifiers
This class consumes the Moose::Exception::Role::Role role.
This class has the following methods:
$exception->modifier_type()
Returns a Str value.
$exception->role_name()
Returns a Str value.
This attribute can be used for fetching the class's metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
Moose::Exception::RolesInCreateTakesAnArrayRef
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->params()
Returns a HashRef value.
Moose::Exception::RolesListMustBeInstancesOfMooseMetaRole
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->params()
Returns a HashRef value.
$exception->role()
Moose::Exception::SingleParamsToNewMustBeHashRef
This class has no attributes except for
message
andtrace()
.Moose::Exception::TriggerMustBeACodeRef
This class consumes the Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash roles.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->params()
Returns a HashRef value.
Moose::Exception::TypeConstraintCannotBeUsedForAParameterizableType
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->parent_type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->parent_type_name );
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::TypeConstraintIsAlreadyCreated
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->package_defined_in()
Returns a Str value.
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::TypeParameterMustBeMooseMetaType
This class consumes the Moose::Exception::Role::TypeConstraint role.
This class has the following methods:
$exception->type_name()
Returns a Str value.
This attribute can be used for fetching type constraint(Moose::Meta::TypeConstraint):
my $type_constraint = Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
Moose::Exception::UnableToCanonicalizeHandles
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->handles()
Moose::Exception::UnableToCanonicalizeNonRolePackage
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->handles()
Returns a Str value.
Moose::Exception::UnableToRecognizeDelegateMetaclass
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->delegate_metaclass()
Moose::Exception::UndefinedHashKeysPassedToMethod
This class has the following methods:
$exception->hash_keys()
Returns an ArrayRef value.
$exception->method_name()
Returns a Str value.
Moose::Exception::UnionCalledWithAnArrayRefAndAdditionalArgs
This class has the following methods:
$exception->args()
Returns an ArrayRef value.
$exception->array()
Returns an ArrayRef value.
Moose::Exception::UnionTakesAtleastTwoTypeNames
This class has no attributes except for
message
andtrace()
.Moose::Exception::ValidationFailedForInlineTypeConstraint
This class consumes the Moose::Exception::Role::Class role.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->class_name()
Returns a Str value.
This attribute can be used for fetching metaclass instance:
my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
$exception->new_member()
Returns a Bool value.
$exception->type_constraint_message()
Returns a Str value.
$exception->value()
Moose::Exception::ValidationFailedForTypeConstraint
This class consumes the Moose::Exception::Role::Attribute role.
This class has the following methods:
$exception->attribute()
Returns a Class::MOP::Attribute object.
$exception->type()
Returns a Moose::Util::TypeConstraints value.
$exception->value()
Moose::Exception::WrapTakesACodeRefToBless
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->class()
Returns a Str value.
$exception->code()
$exception->params()
Returns a HashRef value.
Moose::Exception::WrongTypeConstraintGiven
This class consumes the Moose::Exception::Role::ParamsHash role.
This class has the following methods:
$exception->attribute_name()
Returns a Str value.
$exception->given_type()
Returns a Str value.
$exception->params()
Returns a HashRef value.
$exception->required_type()
Returns a Str value.
AUTHORS
Stevan Little <stevan@cpan.org>
Dave Rolsky <autarch@urth.org>
Jesse Luehrs <doy@cpan.org>
Shawn M Moore <sartak@cpan.org>
יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
Karen Etheridge <ether@cpan.org>
Florian Ragwitz <rafl@debian.org>
Hans Dieter Pearcey <hdp@cpan.org>
Chris Prather <chris@prather.org>
Matt S Trout <mstrout@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2006 by Infinity Interactive, Inc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Moose, copy and paste the appropriate command in to your terminal.
cpanm Moose
perl -MCPAN -e shell install Moose
For more information on module installation, please visit the detailed CPAN module installation guide.