This class is a subclass of Moose::Exception.
This attribute is read-only, isa Any and is required.
This attribute is read-only and isa Str. It is lazy and has a default value 'Error'.
This attribute is read-only, isa ArrayRef and is required.
This attribute is read-only and isa Devel::StackTrace. It is lazy & dependent on $exception->message.
No cases matched for 123
This class is a subclass of Moose::Exception and consumes role Moose::Exception::Role::ParamsHash.
This attribute is read-only, isa Str and is required.
This attribute is read-only, isa HashRef and is required.
The 'message' parameter must be a coderef
This class is a subclass of Moose::Exception and consumes role Moose::Exception::Role::Role.
This attribute is read-only, isa Str, has a predicate is_role_name_set and is optional.
is_role_name_set
This attribute is read-only, isa Moose::Meta::Role, has a predicate is_role_set and is optional.
is_role_set
Usage: has 'name' => ( key => value, ... )
You must supply a delegate_to_method which is a method name or a CODE reference
This attribute is read-only, isa Moose::Meta::Role and is required.
You cannot inherit from a Moose Role (Bar)
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash.
You cannot have coercion without specifying a type constraint on attribute (bar)
This attribute is read-only, isa Moose::Meta::TypeConstraint and is required.
Match action must be a CODE ref, not ARRAY(0x27a0748)
Cannot have an isa option and a does option if the isa does not do the does on attribute (bar)
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Class and Moose::Exception::Role::ParamsHash.
This attribute is read-only, isa Class::MOP::Class, has a predicate is_class_set and is optional.
is_class_set
This attribute is read-only, isa Str, has a predicate is_class_name_set and is optional.
is_class_name_set
You can only clone instances, (ARRAY(0x2162350)) is not a blessed instance
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::RoleForCreate and Moose::Exception::Role::ParamsHash.
You must pass an ARRAY ref of roles
This attribute is read-only, isa Int and is required.
Cannot call substr with more than 3 arguments
You can not use lazy_build and default for the same attribute (bar)
This attribute is read-only, isa Moose::Meta::TypeConstraint::Registry and is required.
No type supplied / type is not a valid type constraint
Circular reference in 'also' parameter to Moose::Exporter between MooseX::CircularAlso and MooseX::CircularAlso
Single parameters to new() must be a HASH ref
You must pass a package name or an existing Class::MOP::Package instance
You need to give type or type_name or both
You cannot auto-dereference without specifying a type constraint on attribute (bar)
This class is a subclass of Moose::Exception and consumes role Moose::Exception::Role::Class.
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Role, Moose::Exception::Role::Method and Moose::Exception::Role::Class.
This attribute is read-only, isa Moose::Meta::Method and is required.
Cannot create a method alias if a local method of the same name exists
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::RoleForCreateMOPClass and Moose::Exception::Role::ParamsHash.
You must pass an HASH ref of methods
This class is a subclass of Moose::Exception and consumes role Moose::Exception::Role::TypeConstraint.
This attribute is read-only, isa Moose::Meta::TypeConstraint, has a predicate is_type_set and is optional.
is_type_set
This attribute is read-only, isa Str, has a predicate is_type_name_set and is optional.
is_type_name_set
Could not locate type constraint (foo) for the union
enum called with an array reference and additional arguments. Did you mean to parenthesize the enum call's parameters?
This class is a subclass of Moose::Exception and consumes role Moose::Exception::Role::Instance.
This attribute is read-only, isa Object and is required.
A coercion action already exists for 'Int'
Cannot define an accessor name on a read-only attribute, accessors are read/write
You must pass a hash of options
You cannot augment 'foo' because it has no super method
You must supply a CODE reference to bless, not (foo)
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Role and Moose::Exception::Role::AttributeName.
We have encountered an attribute conflict with 'foo' during role composition. This attribute is defined in both Foo2 and Bar2. This is a fatal error and cannot be disambiguated.
Roles cannot support 'augment'
This attribute is read-only, isa Str, has a predicate is_ordinal_set and is optional.
is_ordinal_set
This attribute is read-only, isa Str, has a default value "argument" and is optional.
The argument passed to grep must be a code reference The argument passed to match must be a string or regexp reference The index passed to get must be an integer The argument passed to first must be a code reference The argument passed to first_index must be a code reference The argument passed to grep must be a code reference The argument passed to join must be a string The argument passed to map must be a code reference The n value passed to natatime must be an integer The second argument passed to natatime must be a code reference The argument passed to reduce must be a code reference The argument passed to sort must be a code reference The argument passed to sort_in_place must be a code reference The length argument passed to splice must be an integer The key passed to exists must be a defined value The first argument passed to substr must be an integer The second argument passed to substr must be an integer The third argument passed to substr must be a string The first argument passed to replace must be a string or regexp reference The second argument passed to replace must be a string or code reference
A subtype cannot consist solely of a name, it must have a parent
This attribute is read-only, isa Moose::Meta::Role::Composite and is required.
Moose::Meta::Role::Composite instances can only be reinitialized from an existing metaclass instance
Conflict detected: Foo excludes role 'Bar'
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Attribute, Moose::Exception::Role::Instance and Moose::Exception::Role::TypeConstraint.
This attribute is read-only, isa Class::MOP::Attribute, has a predicate is_attribute_set and is optional.
is_attribute_set
Can not auto de-reference the type constraint 'Int'
You cannot override 'foo' because it has no super method
You must supply a role name to look for
The list of roles must be instances of Moose::Meta::Role, not foo
can't register an unnamed type constraint
Overriding the body of meta methods is not allowed
This class is a subclass of Moose::Exception and consumes role Moose::Exception::Role::EitherAttributeOrAttributeName.
This attribute is read-only, isa HashRef, has a predicate has_params and is optional.
has_params
This attribute is read-only, isa Class::MOP::Attribute, has a predicate has_attribute and is optional.
has_attribute
This attribute is read-only, isa Str, has a predicate has_attribute_name and is optional.
has_attribute_name
You cannot have a lazy attribute (bar) without specifying a default value for it
This class is a subclass of Moose::Exception and consumes role Moose::Exception::Role::Attribute.
Unable to recognize the delegate metaclass 'Class::MOP::Package
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::ParamsHash and Moose::Exception::Role::Class.
The __INSTANCE__ parameter must be a blessed reference, not ARRAY(0x1d75d40)
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Attribute and Moose::Exception::Role::Method.
You cannot overwrite a locally defined method (full) with a delegation
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Attribute and Moose::Exception::Role::Instance.
Class::MOP::Attribute does not support builder method 'foo' for attribute 'bar'
I do not understand this option (is => bar) on attribute (foo)
The metaclass (Foo) must be derived from Class::MOP::Class
Conflict detected: Role Foo1 excludes role 'Bar1' Conflict detected: Roles Foo1, Baz1 exclude role 'Bar1'
Cannot calculate native type for Moose::Meta::Class::__ANON__::SERIAL::
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Class and Moose::Exception::Role::Method.
Cannot add an augment method if a local method is already present
This attribute is read-only, isa Str and is optional.
Can't fix metaclass incompatibility for Foo9 because it is not pristine. Can't fix metaclass incompatibility for Foo::Unsafe::Sub because it is not pristine.
You must define a method name
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Class, Moose::Exception::Role::InvalidAttributeOptions and Moose::Exception::Role::ParamsHash.
Could not find an attribute by the name of 'bar' to inherit from in Test2
This attribute is read-only, isa CodeRef and is required.
You must supply the package_name and name parameters
Could not locate the base type (Foo)
Could not parse type name (Foo) correctly
The is_needed method expected a metaclass object as its arugment
You need to give class or class_name or both
You must pass an ARRAY ref of superclasses
Unable to canonicalize the 'handles' option with Foo1 because its metaclass is not a Moose::Meta::Role
This attribute is read-only, isa Class::MOP::Method::Constructor and is required.
Could not eval the constructor :
The type parameter must be a Moose meta type
Can only wrap blessed CODE
Roles cannot support 'inner'
The attribute_metaclass metaclass for Foo::All::Sub::Attribute (Bar::Meta::Attribute) is not compatible with the attribute metaclass of its superclass, Foo::All (Foo::Meta::Attribute)
no immutable trait specified for Moose::Meta::Class=HASH(0x19a2280)
This attribute is read-only, isa Bool, has a predicate is_a_new_member, has a default value 0 and is optional.
is_a_new_member
Attribute (foo) does not pass the type constraint because: Validation failed for 'Int' with value 10.5 Attribute (a4) does not pass the type constraint because: Validation failed for 'ArrayRef' with value "invalid" Attribute (a4) does not pass the type constraint because: Validation failed for 'ArrayRef' with value "invalid" Attribute (a4) does not pass the type constraint because: Validation failed for 'ArrayRef' with value "invalid" Attribute (a4) does not pass the type constraint because: Validation failed for 'ArrayRef' with value "invalid" Attribute (from_parameterizable) does not pass the type constraint because: Validation failed for 'ParameterizableArrayRef[Int]' with value "Hello" A new member value for foo does not pass its type constraint because: Validation failed for 'Int' with value 1.2
Type must be a Moose::Meta::TypeConstraint::Parameterizable not Foo
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::InvalidAttributeOptions, Moose::Exception::Role::ParamsHash and Moose::Exception::Role::TypeConstraint.
You cannot coerce an attribute (foo) unless its type (Str) has a coercion
Setting both default and builder is not allowed.
Cannot call substr without at least 1 argument
Foo3 already has a metaclass, but it does not inherit Moose::Meta::Class (Moose::Meta::Role=HASH(0x29d3c78)). You cannot make the same thing a role and a class. Remove either Moose or Moose::Role.
Could not find the type constraint (xyz) to coerce from
This attribute is read-only, isa Bool and is required.
Package in also (NoSuchThing) does not seem to use Moose::Exporter (is it loaded?)
Enum values must be strings, not undef Enum values must be strings, not 'ARRAY(0x191d1b8)'
Cannot inline a type constraint check for NotInlinable
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Class and Moose::Exception::Role::EitherAttributeOrAttributeName.
Cannot assign a value to a read-only accessor
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Role and Moose::Exception::Role::Method.
This attribute has handles as follows:
Illegal inherited options => (clearer)
You must pass a Moose::Meta::Role instance (or a subclass)
This attribute is read-only, isa Moose::Meta::Method::Destructor and is required.
Could not eval the destructor
You cannot have a weak reference to a coerced value on attribute (bar)
This attribute is read-only, isa Moose::Meta::TypeConstraint::Parameterizable and is required.
Can't generate an inline constraint for Int, since none was defined
HASH references are not valid arguments to the 'trait_aliases' option
Cannot add an override of method 'bar' because there is a local version of 'bar'
Could not create the 'predicate' method for bar because : Can't call method "name" on an undefined value
You must provide a name for the attribute
The metaclass of My::Class (Class::MOP::Class) is not compatible with the metaclass of its superclass, My::Role (Moose::Meta::Role)
The 'superclasses' method is read-only when called on an immutable instance
The bar attribute is trying to delegate to a role which has not been loaded - Role
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Instance and Moose::Exception::Role::Attribute.
This attribute is read-only, isa Moose::Meta::Method::Delegation and is required.
Cannot delegate get_count to count because the value of foo is not an object (got 'ARRAY(0x223f578)')
You must supply an attribute which is a 'Moose::Meta::Attribute' instance
When using Moose::Util::MetaRole, you must pass a Moose class name, role name, metaclass object, or metarole object. You passed Foo=HASH(0x16adb58), and we resolved this to a Foo object. When using Moose::Util::MetaRole, you must pass a Moose class name, role name, metaclass object, or metarole object. You passed ARRAY(0x21eb868), and this did not resolve to a metaclass or metarole. Maybe you need to call Moose->init_meta to initialize the metaclass first? When using Moose::Util::MetaRole, you must pass a Moose class name, role name, metaclass object, or metarole object. You passed undef, and this did not resolve to a metaclass or metarole. Maybe you need to call Moose->init_meta to initialize the metaclass first?
The Int[Xyz] constraint cannot be used, because Int doesn't subtype or coerce from a parameterizable type.
This attribute is read-only, isa ArrayRef[Moose::Meta::Role::Method::Conflicting] and is required.
This attribute has handles as follows: get_method_at => get conflict_methods_count => count get_all_methods => elements
Due to a method name conflict in roles 'Bar::Role' and 'Foo::Role', the method 'foo' must be implemented or excluded by 'My::Foo::Class::Broken' Due to method name conflicts in roles 'Bar2::Role' and 'Foo2::Role', the methods 'bar' and 'foo' must be implemented or excluded by 'My::Foo::Class::Broken2'
No body to initialize, Class::MOP::Method::Generated is an abstract base class
References are not allowed as default values, you must wrap the default of 'foo' in a CODE reference (ex: sub { [] } and not [])
This attribute is read-only, isa Moose::Meta::TypeCoercion::Union and is required.
You can only create a Moose::Meta::TypeCoercion::Union for a Moose::Meta::TypeConstraint::Union, not a Str
Roles must be instances of Moose::Meta::Role
You must pass a HASH ref of attributes
This attribute is read-only, isa Bool, has a default value 0 and is required.
This attribute is read-only, isa Moose::Meta::Role::Application::RoleSummation and is required.
This attribute is read-only, isa ArrayRef[Moose::Meta::Role] and is required.
This attribute has handles as follows: roles => elements
Role 'Foo3|Bar3' has encountered an 'override' method conflict during composition (A local method of the same name has been found). This is a fatal error. We have encountered an 'override' method conflict during composition (Two 'override' methods of the same name encountered). This is fatal error.
This attribute is read-only, isa Moose::Exception and is required.
Could not generate inline accessor because : Can't call method "get_meta_instance" on an undefined value Could not generate inline reader because : Can't call method "get_meta_instance" on an undefined value Could not generate inline writer because : Can't call method "get_meta_instance" on an undefined value Could not generate inline predicate because : Can't call method "get_meta_instance" on an undefined value Could not generate inline clearer because : Can't call method "get_meta_instance" on an undefined value
bad accessor/reader/writer/predicate/clearer format, must be a HASH ref
You must pass in a method name
Cannot delegate get_count to count because the value of foo is not defined
Foo does not support builder method '_build_baz' for attribute 'baz'
Modules are not cacheable Packages are not cacheable
Cannot find or parse the type 'doesNotExist'
Cannot call init_meta without specifying a for_class
You need to give attribute or attribute_name or both
union called with an array reference and additional arguments
You must supply a curried_arguments which is an ARRAY reference
A required attribute must have either 'init_arg', 'builder', or 'default'
You must pass a package name
Cannot delegate methods based on a Regexp without a type constraint (isa)
You must pass a Class::MOP::Class instance (or a subclass)
All values passed to handles must be strings or ARRAY references, not (?^:bar)
Cannot have an isa option which cannot ->does() on attribute (bar)
Must specify at least one role to apply to TestClass=HASH(0x2bee290) Must specify at least one role to apply to Moose::Meta::Class=HASH(0x1a1f818) Must specify at least one role to apply to Moose::Meta::Role=HASH(0x1f22d40)
Could not compile type constraint 'FooTypeConstraint' because no constraint check
You cannot have a required attribute (bar) without a default, builder, or an init_arg
Role 'Foo4' has encountered an attribute conflict while being composed into 'Bar4'. This is a fatal error and cannot be disambiguated. The conflicting attribute is named 'foo'.
You must pass an ARRAY ref of attributes
Int is not a subtype of Float
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Class and Moose::Exception::Role::Role.
This attribute is read-only, isa ArrayRef[Moose::Meta::Role::Method::Required] and is required.
This attribute has handles as follows: method_count => count get_method_at => get get_all_methods => elements
This attribute is read-only, isa Moose::Meta::Role::Method::Required and is required.
'Foo4::Role' requires the method 'foo' to be implemented by 'Class'. If you imported functions intending to use them as methods, you need to explicitly mark them as such, via Class->meta->add_method(foo => \&foo)
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::ParamsHash, Moose::Exception::Role::Class and Moose::Exception::Role::Instance.
You may rebless only into a subclass of (Foo2), of which (Foo) isn't.
contains invalid characters
Abstract method
You must pass a package name and it cannot be blessed
You must pass an instance of the metaclass (Foo), not (foo)
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Instance and Moose::Exception::Role::Class.
Test::LazyBuild::Attribute does not support builder method '_build_fool' for attribute 'fool'
You cannot auto-dereference anything other than a ArrayRef or HashRef on attribute (bar)
Attribute (baz) is required Attribute (bar) is required Attribute (foo_required) is required Attribute (foo) is required Attribute (baz) is required
The bar attribute is trying to delegate to a type (Int) that is not backed by a class The bar attribute is trying to delegate to a type (PositiveInt) that is not backed by a class
Role 'Foo6' has encountered an 'override' method conflict during composition (A local method of the same name as been found). This is a fatal error. Role 'Foo7' has encountered an 'override' method conflict during composition (Two 'override' methods of the same name encountered). This is fatal error.
Hash keys passed to set must be defined
Cannot add an override method if a local method is already present
Cannot coerce without a type coercion
The bar attribute is trying to delegate to a class which has not been loaded - Not::Loaded
The Metaclass Foo3 must be a subclass of Moose::Meta::Role.
Class::MOP::Method::Generated is an abstract base class, you must provide a constructor.
The Metaclass Foo3 must be a subclass of Moose::Meta::Class.
Methods passed to before must be provided as a list, arrayref or regex, not HASH
Must specify at least one method
You must supply an attribute which is a 'Class::MOP::Attribute' instance
Your attribute must be an instance of Class::MOP::Mixin::AttributeCore (or a subclass)
Cannot find type 'Foo', perhaps you forgot to load it
This attribute is read-only, isa Moose::Util::TypeConstraints and is required.
Attribute (bar) does not pass the type constraint because: Validation failed for 'Int' with value "test" Validation failed for 'OnlyPositiveInts' with value -123
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Class and Moose::Exception::Role::Instance.
You may rebless only into a superclass of (Foo), of which (Foo2) isn't.
You must pass an even number of arguments to set
The 'add_method' method cannot be called on an immutable instance
type_name (foo) does not match type->name (bar)
You must pass a metaclass instance if you want to inline
You must supply an accessor_type to construct with
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::TypeConstraint and Moose::Exception::Role::ParamsHash.
Can't locate Moose::Meta::Int::Custom::Xyz or Xyz in \@INC \(\@INC contains:
Cannot add a Moose::Meta::Class as an attribute to a role
The method 'foo' was not found in the inheritance hierarchy for Foo
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::Role and Moose::Exception::Role::Class.
The class FooClass2 does the excluded role 'ExcludedRole2'
Foo4 already has a metaclass, but it does not inherit Moose::Meta::Class (Class::MOP::Class=HASH(0x278a4a0)). Foo4 already has a metaclass, but it does not inherit Moose::Meta::Role (Class::MOP::Class=HASH(0x2c385a8)).
Unable to canonicalize the 'handles' option with GLOB(0x109d0b0)
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::ParamsHash and Moose::Exception::Role::Role.
You can only apply base class roles to a Moose class, not a role.
The 'handles' option must be a HASH reference, not bar
has '+attr' is not supported in roles
The role Bar2 does the excluded role 'Bar3'
You must pass in an blessed instance
Trigger must be a CODE ref on attribute (bar)
You must have at least one value to enumerate through
Roles do not currently support regex references for before method modifiers
The type constraint 'Foo1' has already been created in Moose::Role and cannot be created again in main The type constraint 'Foo2' has already been created in Moose and cannot be created again in main The type constraint 'Foo3' has already been created in Moose and cannot be created again in main
Cannot provide traits when Moose::Util::TypeConstraints does not have an init_meta() method
You need to give role or role_name or both
This attribute has handles as follows: get_all_methods => elements method_count => count get_method_at => get
'Foo3::Role|Bar3::Role|Baz3::Role' requires the method 'foo' to be implemented by 'My::Foo::Class::Broken3'
You cannot create a Higher Order type without a type parameter
The 'inline_destructor' option is present, but no destructor class was specified
Roles do not support 'extends' (you can use 'with' to specialize a role)
Must derive at least one class
You must pass a HASH ref of methods
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::ParamsHash and Moose::Exception::Role::Instance.
Your code block must be a CODE reference
Default case must be a CODE ref, not ARRAY(0x14f6fc8)
Role applications must be instances of Moose::Meta::Role::Application::ToClass
Cannot find delegate metaclass for attribute bar
Foo3 already has a metaclass, but it does not inherit Moose::Meta::Role (Moose::Meta::Class=HASH(0x2d5d160)). You cannot make the same thing a role and a class. Remove either Moose or Moose::Role.
builder must be a defined scalar value which is a method name
Cannot add additional type coercions to Union types
You can only consume roles, DateTime is not a Moose role
The Metaclass Foo2 must be loaded. (Perhaps you forgot to 'use Foo2'?)
You must define a method name to find
The type constraint for foo must be a subtype of ArrayRef but it's a Int
This attribute is read-only, isa Class::MOP::Class and is required.
class_name (TestClass1) does not match class->name (TestClass) class_name (Foo) does not match class->name (DoesClassRole)
This attribute is read-only, isa Class::MOP::Attribute and is required.
attribute_name (foo1) does not match attribute->name (foo) attribute_name (foo) does not match attribute->name (bar)
This attribute is read-only, isa Moose::Meta::Class and is required.
You must supply a role name to does()
role_name (Foo) does not match role->name (JustATestRole)
You must define an attribute name
This class is a subclass of Moose::Exception and consume roles Moose::Exception::Role::EitherAttributeOrAttributeName and Moose::Exception::Role::Instance.
Could not generate inline writer because : Could not create writer for 'bar' because Can't locate object method "_eval_environment" via package "Class::MOP::Attribute"
operator is required
You must supply an attribute to construct with
'Str | Undef |' didn't parse (parse-pos=11 and str-length=13)
Objects passed as the __INSTANCE__ parameter must already be blessed into the correct class, but Bar=HASH(0x2d77528) is not a Foo
Must specify at least one role
Conflict detected: FooClass excludes role 'BarRole'
You must pass an even number of attribute options
You must pass in at least 2 type names to make a union
To install Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Moose
CPAN shell
perl -MCPAN -e shell install Moose
For more information on module installation, please visit the detailed CPAN module installation guide.