1Moose::Manual::ExceptioUnsse:r:MCaonnitfreisbtu(t3e)d PeMrolosDeo:c:uMmaennutaalt:i:oEnxceptions::Manifest(3)
2
3
4

NAME

6       Moose::Manual::Exceptions::Manifest - Moose's Exception Types
7

VERSION

9       version 2.2203
10

DESCRIPTION

12       This document contains a manifest of all the exception classes that are
13       thrown as Moose internal errors.
14

COMMON ELEMENTS

16       Unless otherwise stated, all classes are subclasses of
17       Moose::Exception.
18
19       Similarly, all classes provide the following attribute reader methods:
20
21   $exception->message
22       This method returns the error message for the exception.
23
24   $exception->trace
25       This method returns a Devel::StackTrace object.
26

EXCEPTION CLASSES

28       Moose ships with the following exception classes:
29
30   Moose::Exception::AccessorMustReadWrite
31       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
32       and Moose::Exception::Role::ParamsHash roles.
33
34       This class has the following methods:
35
36       •   $exception->attribute_name()
37
38           Returns a Str value.
39
40       •   $exception->params()
41
42           Returns a HashRef value.
43
44   Moose::Exception::AddParameterizableTypeTakesParameterizableType
45       This class has the following methods:
46
47       •   $exception->type_name()
48
49           Returns a Str value.
50
51   Moose::Exception::AddRoleTakesAMooseMetaRoleInstance
52       This class consumes the Moose::Exception::Role::Class role.
53
54       This class has the following methods:
55
56       •   $exception->class_name()
57
58           Returns a Str value.
59
60           This attribute can be used for fetching metaclass instance:
61
62               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
63
64       •   $exception->role_to_be_added()
65
66   Moose::Exception::AddRoleToARoleTakesAMooseMetaRole
67       This class consumes the Moose::Exception::Role::Role role.
68
69       This class has the following methods:
70
71       •   $exception->role_name()
72
73           Returns a Str value.
74
75           This attribute can be used for fetching the class's metaclass
76           instance:
77
78               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
79
80       •   $exception->role_to_be_added()
81
82   Moose::Exception::ApplyTakesABlessedInstance
83       This class consumes the Moose::Exception::Role::Role role.
84
85       This class has the following methods:
86
87       •   $exception->param()
88
89       •   $exception->role_name()
90
91           Returns a Str value.
92
93           This attribute can be used for fetching the class's metaclass
94           instance:
95
96               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
97
98   Moose::Exception::AttachToClassNeedsAClassMOPClassInstanceOrASubclass
99       This class consumes the Moose::Exception::Role::Attribute role.
100
101       This class has the following methods:
102
103       •   $exception->attribute()
104
105           Returns a Class::MOP::Attribute object.
106
107       •   $exception->class()
108
109   Moose::Exception::AttributeConflictInRoles
110       This class consumes the Moose::Exception::Role::Role role.
111
112       This class has the following methods:
113
114       •   $exception->attribute_name()
115
116           Returns a Str value.
117
118       •   $exception->role_name()
119
120           Returns a Str value.
121
122           This attribute can be used for fetching the class's metaclass
123           instance:
124
125               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
126
127       •   $exception->second_role_name()
128
129           Returns a Str value.
130
131   Moose::Exception::AttributeConflictInSummation
132       This class consumes the Moose::Exception::Role::AttributeName and
133       Moose::Exception::Role::Role roles.
134
135       This class has the following methods:
136
137       •   $exception->attribute_name()
138
139           Returns a Str value.
140
141       •   $exception->role_name()
142
143           Returns a Str value.
144
145           This attribute can be used for fetching the class's metaclass
146           instance:
147
148               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
149
150       •   $exception->second_role_name()
151
152           Returns a Str value.
153
154   Moose::Exception::AttributeExtensionIsNotSupportedInRoles
155       This class consumes the Moose::Exception::Role::Role role.
156
157       This class has the following methods:
158
159       •   $exception->attribute_name()
160
161           Returns a Str value.
162
163       •   $exception->role_name()
164
165           Returns a Str value.
166
167           This attribute can be used for fetching the class's metaclass
168           instance:
169
170               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
171
172   Moose::Exception::AttributeIsRequired
173       This class consumes the Moose::Exception::Role::Class role.
174
175       This class has the following methods:
176
177       •   $exception->attribute_init_arg()
178
179           Returns a Str value.
180
181       •   $exception->attribute_name()
182
183           Returns a Str value.
184
185           This attribute can be used for fetching attribute instance:
186
187               my $class = Moose::Util::find_meta( $exception->class_name );
188               my $attribute = $class->get_attribute( $exception->attribute_name );
189
190       •   $exception->class_name()
191
192           Returns a Str value.
193
194           This attribute can be used for fetching metaclass instance:
195
196               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
197
198       •   $exception->params()
199
200           Returns a HashRef value.
201
202   Moose::Exception::AttributeMustBeAnClassMOPMixinAttributeCoreOrSubclass
203       This class consumes the Moose::Exception::Role::Class role.
204
205       This class has the following methods:
206
207       •   $exception->attribute()
208
209       •   $exception->class_name()
210
211           Returns a Str value.
212
213           This attribute can be used for fetching metaclass instance:
214
215               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
216
217   Moose::Exception::AttributeNamesDoNotMatch
218       This class has the following methods:
219
220       •   $exception->attribute()
221
222           Returns a Class::MOP::Attribute object.
223
224       •   $exception->attribute_name()
225
226           Returns a Str value.
227
228   Moose::Exception::AttributeValueIsNotAnObject
229       This class consumes the Moose::Exception::Role::Attribute and
230       Moose::Exception::Role::Instance roles.
231
232       This class has the following methods:
233
234       •   $exception->attribute()
235
236           Returns a Class::MOP::Attribute object.
237
238       •   $exception->given_value()
239
240       •   $exception->instance()
241
242           Returns an Object value.
243
244       •   $exception->method()
245
246           Returns a Moose::Meta::Method::Delegation object.
247
248   Moose::Exception::AttributeValueIsNotDefined
249       This class consumes the Moose::Exception::Role::Attribute and
250       Moose::Exception::Role::Instance roles.
251
252       This class has the following methods:
253
254       •   $exception->attribute()
255
256           Returns a Class::MOP::Attribute object.
257
258       •   $exception->instance()
259
260           Returns an Object value.
261
262       •   $exception->method()
263
264           Returns a Moose::Meta::Method::Delegation object.
265
266   Moose::Exception::AutoDeRefNeedsArrayRefOrHashRef
267       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
268       and Moose::Exception::Role::ParamsHash roles.
269
270       This class has the following methods:
271
272       •   $exception->attribute_name()
273
274           Returns a Str value.
275
276       •   $exception->params()
277
278           Returns a HashRef value.
279
280   Moose::Exception::BadOptionFormat
281       This class consumes the Moose::Exception::Role::Attribute role.
282
283       This class has the following methods:
284
285       •   $exception->attribute()
286
287           Returns a Class::MOP::Attribute object.
288
289       •   $exception->option_name()
290
291           Returns a Str value.
292
293       •   $exception->option_value()
294
295   Moose::Exception::BothBuilderAndDefaultAreNotAllowed
296       This class consumes the Moose::Exception::Role::ParamsHash role.
297
298       This class has the following methods:
299
300       •   $exception->class()
301
302           Returns a Str value.
303
304       •   $exception->params()
305
306           Returns a HashRef value.
307
308   Moose::Exception::BuilderDoesNotExist
309       This class consumes the Moose::Exception::Role::Attribute and
310       Moose::Exception::Role::Instance roles.
311
312       This class has the following methods:
313
314       •   $exception->attribute()
315
316           Returns a Class::MOP::Attribute object.
317
318       •   $exception->instance()
319
320           Returns an Object value.
321
322   Moose::Exception::BuilderMethodNotSupportedForAttribute
323       This class consumes the Moose::Exception::Role::Attribute and
324       Moose::Exception::Role::Instance roles.
325
326       This class has the following methods:
327
328       •   $exception->attribute()
329
330           Returns a Class::MOP::Attribute object.
331
332       •   $exception->instance()
333
334           Returns an Object value.
335
336   Moose::Exception::BuilderMethodNotSupportedForInlineAttribute
337       This class consumes the Moose::Exception::Role::Class and
338       Moose::Exception::Role::Instance roles.
339
340       This class has the following methods:
341
342       •   $exception->attribute_name()
343
344           Returns a Str value.
345
346       •   $exception->builder()
347
348           Returns a Str value.
349
350       •   $exception->class_name()
351
352           Returns a Str value.
353
354           This attribute can be used for fetching metaclass instance:
355
356               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
357
358       •   $exception->instance()
359
360           Returns an Object value.
361
362   Moose::Exception::BuilderMustBeAMethodName
363       This class consumes the Moose::Exception::Role::ParamsHash role.
364
365       This class has the following methods:
366
367       •   $exception->class()
368
369           Returns a Str value.
370
371       •   $exception->params()
372
373           Returns a HashRef value.
374
375   Moose::Exception::CallingMethodOnAnImmutableInstance
376       This class has the following methods:
377
378       •   $exception->method_name()
379
380           Returns a Str value.
381
382   Moose::Exception::CallingReadOnlyMethodOnAnImmutableInstance
383       This class has the following methods:
384
385       •   $exception->method_name()
386
387           Returns a Str value.
388
389   Moose::Exception::CanExtendOnlyClasses
390       This class consumes the Moose::Exception::Role::Role role.
391
392       This class has the following methods:
393
394       •   $exception->role_name()
395
396           Returns a Str value.
397
398           This attribute can be used for fetching the class's metaclass
399           instance:
400
401               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
402
403   Moose::Exception::CanOnlyConsumeRole
404       This class has the following methods:
405
406       •   $exception->role_name()
407
408           Returns a Str value.
409
410   Moose::Exception::CanOnlyWrapBlessedCode
411       This class consumes the Moose::Exception::Role::ParamsHash role.
412
413       This class has the following methods:
414
415       •   $exception->class()
416
417           Returns a Str value.
418
419       •   $exception->code()
420
421       •   $exception->params()
422
423           Returns a HashRef value.
424
425   Moose::Exception::CanReblessOnlyIntoASubclass
426       This class consumes the Moose::Exception::Role::Class,
427       Moose::Exception::Role::Instance,
428       Moose::Exception::Role::InstanceClass, and
429       Moose::Exception::Role::ParamsHash roles.
430
431       This class has the following methods:
432
433       •   $exception->class_name()
434
435           Returns a Str value.
436
437           This attribute can be used for fetching metaclass instance:
438
439               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
440
441       •   $exception->instance()
442
443           Returns an Object value.
444
445       •   $exception->instance_class()
446
447           Returns a Str value.
448
449       •   $exception->params()
450
451           Returns a HashRef value.
452
453   Moose::Exception::CanReblessOnlyIntoASuperclass
454       This class consumes the Moose::Exception::Role::Class,
455       Moose::Exception::Role::Instance, and
456       Moose::Exception::Role::InstanceClass roles.
457
458       This class has the following methods:
459
460       •   $exception->class_name()
461
462           Returns a Str value.
463
464           This attribute can be used for fetching metaclass instance:
465
466               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
467
468       •   $exception->instance()
469
470           Returns an Object value.
471
472       •   $exception->instance_class()
473
474           Returns a Str value.
475
476   Moose::Exception::CannotAddAdditionalTypeCoercionsToUnion
477       This class has the following methods:
478
479       •   $exception->type_coercion_union_object()
480
481           Returns a Moose::Meta::TypeCoercion::Union object.
482
483   Moose::Exception::CannotAddAsAnAttributeToARole
484       This class consumes the Moose::Exception::Role::Role role.
485
486       This class has the following methods:
487
488       •   $exception->attribute_class()
489
490           Returns a Str value.
491
492       •   $exception->role_name()
493
494           Returns a Str value.
495
496           This attribute can be used for fetching the class's metaclass
497           instance:
498
499               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
500
501   Moose::Exception::CannotApplyBaseClassRolesToRole
502       This class consumes the Moose::Exception::Role::ParamsHash and
503       Moose::Exception::Role::Role roles.
504
505       This class has the following methods:
506
507       •   $exception->params()
508
509           Returns a HashRef value.
510
511       •   $exception->role_name()
512
513           Returns a Str value.
514
515           This attribute can be used for fetching the class's metaclass
516           instance:
517
518               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
519
520   Moose::Exception::CannotAssignValueToReadOnlyAccessor
521       This class consumes the Moose::Exception::Role::Class and
522       Moose::Exception::Role::EitherAttributeOrAttributeName roles.
523
524       This class has the following methods:
525
526       •   $exception->attribute()
527
528           Returns a Class::MOP::Attribute object.
529
530       •   $exception->attribute_name()
531
532           Returns a Str value.
533
534       •   $exception->class_name()
535
536           Returns a Str value.
537
538           This attribute can be used for fetching metaclass instance:
539
540               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
541
542       •   $exception->params()
543
544           Returns a HashRef value.
545
546       •   $exception->value()
547
548   Moose::Exception::CannotAugmentIfLocalMethodPresent
549       This class consumes the Moose::Exception::Role::Class and
550       Moose::Exception::Role::Method roles.
551
552       This class has the following methods:
553
554       •   $exception->class_name()
555
556           Returns a Str value.
557
558           This attribute can be used for fetching metaclass instance:
559
560               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
561
562       •   $exception->method()
563
564           Returns a Moose::Meta::Method object.
565
566   Moose::Exception::CannotAugmentNoSuperMethod
567       This class consumes the Moose::Exception::Role::ParamsHash role.
568
569       This class has the following methods:
570
571       •   $exception->class()
572
573           Returns a Str value.
574
575       •   $exception->method_name()
576
577           Returns a Str value.
578
579       •   $exception->params()
580
581           Returns a HashRef value.
582
583   Moose::Exception::CannotAutoDerefWithoutIsa
584       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
585       and Moose::Exception::Role::ParamsHash roles.
586
587       This class has the following methods:
588
589       •   $exception->attribute_name()
590
591           Returns a Str value.
592
593       •   $exception->params()
594
595           Returns a HashRef value.
596
597   Moose::Exception::CannotAutoDereferenceTypeConstraint
598       This class consumes the Moose::Exception::Role::Attribute,
599       Moose::Exception::Role::Instance, and
600       Moose::Exception::Role::TypeConstraint roles.
601
602       This class has the following methods:
603
604       •   $exception->attribute()
605
606           Returns a Class::MOP::Attribute object.
607
608       •   $exception->instance()
609
610           Returns an Object value.
611
612       •   $exception->type_name()
613
614           Returns a Str value.
615
616           This attribute can be used for fetching type
617           constraint(Moose::Meta::TypeConstraint):
618
619               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
620
621   Moose::Exception::CannotCalculateNativeType
622       This class consumes the Moose::Exception::Role::Instance role.
623
624       This class has the following methods:
625
626       •   $exception->instance()
627
628           Returns an Object value.
629
630   Moose::Exception::CannotCallAnAbstractBaseMethod
631       This class has the following methods:
632
633       •   $exception->package_name()
634
635           Returns a Str value.
636
637   Moose::Exception::CannotCallAnAbstractMethod
638       This class has no attributes except for "message" and trace().
639
640   Moose::Exception::CannotCoerceAWeakRef
641       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
642       and Moose::Exception::Role::ParamsHash roles.
643
644       This class has the following methods:
645
646       •   $exception->attribute_name()
647
648           Returns a Str value.
649
650       •   $exception->params()
651
652           Returns a HashRef value.
653
654   Moose::Exception::CannotCoerceAttributeWhichHasNoCoercion
655       This class consumes the
656       Moose::Exception::Role::InvalidAttributeOptions,
657       Moose::Exception::Role::ParamsHash, and
658       Moose::Exception::Role::TypeConstraint roles.
659
660       This class has the following methods:
661
662       •   $exception->attribute_name()
663
664           Returns a Str value.
665
666       •   $exception->params()
667
668           Returns a HashRef value.
669
670       •   $exception->type_name()
671
672           Returns a Str value.
673
674           This attribute can be used for fetching type
675           constraint(Moose::Meta::TypeConstraint):
676
677               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
678
679   Moose::Exception::CannotCreateHigherOrderTypeWithoutATypeParameter
680       This class consumes the Moose::Exception::Role::TypeConstraint role.
681
682       This class has the following methods:
683
684       •   $exception->type_name()
685
686           Returns a Str value.
687
688           This attribute can be used for fetching type
689           constraint(Moose::Meta::TypeConstraint):
690
691               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
692
693   Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresent
694       This class consumes the Moose::Exception::Role::Method and
695       Moose::Exception::Role::Role roles.
696
697       This class has the following methods:
698
699       •   $exception->aliased_method_name()
700
701           Returns a Str value.
702
703       •   $exception->method()
704
705           Returns a Moose::Meta::Method object.
706
707       •   $exception->role_being_applied_name()
708
709           Returns a Str value.
710
711       •   $exception->role_name()
712
713           Returns a Str value.
714
715           This attribute can be used for fetching the class's metaclass
716           instance:
717
718               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
719
720   Moose::Exception::CannotCreateMethodAliasLocalMethodIsPresentInClass
721       This class consumes the Moose::Exception::Role::Class,
722       Moose::Exception::Role::Method, and Moose::Exception::Role::Role roles.
723
724       This class has the following methods:
725
726       •   $exception->aliased_method_name()
727
728           Returns a Str value.
729
730       •   $exception->class_name()
731
732           Returns a Str value.
733
734           This attribute can be used for fetching metaclass instance:
735
736               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
737
738       •   $exception->method()
739
740           Returns a Moose::Meta::Method object.
741
742       •   $exception->role_name()
743
744           Returns a Str value.
745
746           This attribute can be used for fetching the class's metaclass
747           instance:
748
749               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
750
751   Moose::Exception::CannotDelegateLocalMethodIsPresent
752       This class consumes the Moose::Exception::Role::Attribute and
753       Moose::Exception::Role::Method roles.
754
755       This class has the following methods:
756
757       •   $exception->attribute()
758
759           Returns a Class::MOP::Attribute object.
760
761       •   $exception->method()
762
763           Returns a Moose::Meta::Method object.
764
765   Moose::Exception::CannotDelegateWithoutIsa
766       This class consumes the Moose::Exception::Role::Attribute role.
767
768       This class has the following methods:
769
770       •   $exception->attribute()
771
772           Returns a Class::MOP::Attribute object.
773
774   Moose::Exception::CannotFindDelegateMetaclass
775       This class consumes the Moose::Exception::Role::Attribute role.
776
777       This class has the following methods:
778
779       •   $exception->attribute()
780
781           Returns a Class::MOP::Attribute object.
782
783   Moose::Exception::CannotFindType
784       This class has the following methods:
785
786       •   $exception->type_name()
787
788           Returns a Str value.
789
790   Moose::Exception::CannotFindTypeGivenToMatchOnType
791       This class has the following methods:
792
793       •   $exception->action()
794
795       •   $exception->to_match()
796
797       •   $exception->type()
798
799   Moose::Exception::CannotFixMetaclassCompatibility
800       This class consumes the Moose::Exception::Role::Class role.
801
802       This class has the following methods:
803
804       •   $exception->class_name()
805
806           Returns a Str value.
807
808           This attribute can be used for fetching metaclass instance:
809
810               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
811
812       •   $exception->metaclass_type()
813
814           Returns a Str value.
815
816       •   $exception->superclass()
817
818           Returns an Object value.
819
820   Moose::Exception::CannotGenerateInlineConstraint
821       This class consumes the Moose::Exception::Role::TypeConstraint role.
822
823       This class has the following methods:
824
825       •   $exception->parameterizable_type_object_name()
826
827           Returns a Str value.
828
829           This attribute can be used for fetching parameterizable type
830           constraint(Moose::Meta::TypeConstraint::Parameterizable):
831
832               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
833
834       •   $exception->type_name()
835
836           Returns a Str value.
837
838           This attribute can be used for fetching type
839           constraint(Moose::Meta::TypeConstraint):
840
841               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
842
843       •   $exception->value()
844
845           Returns a Str value.
846
847   Moose::Exception::CannotInitializeMooseMetaRoleComposite
848       This class has the following methods:
849
850       •   $exception->args()
851
852           Returns an ArrayRef value.
853
854       •   $exception->old_meta()
855
856       •   $exception->role_composite()
857
858           Returns a Moose::Meta::Role::Composite object.
859
860   Moose::Exception::CannotInlineTypeConstraintCheck
861       This class consumes the Moose::Exception::Role::TypeConstraint role.
862
863       This class has the following methods:
864
865       •   $exception->type_name()
866
867           Returns a Str value.
868
869           This attribute can be used for fetching type
870           constraint(Moose::Meta::TypeConstraint):
871
872               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
873
874   Moose::Exception::CannotLocatePackageInINC
875       This class consumes the Moose::Exception::Role::ParamsHash role.
876
877       This class has the following methods:
878
879       •   $exception->INC()
880
881           Returns an ArrayRef value.
882
883       •   $exception->metaclass_name()
884
885           Returns a Str value.
886
887       •   $exception->params()
888
889           Returns a HashRef value.
890
891       •   $exception->possible_packages()
892
893           Returns a Str value.
894
895       •   $exception->type()
896
897           Returns a Str value.
898
899   Moose::Exception::CannotMakeMetaclassCompatible
900       This class consumes the Moose::Exception::Role::Class role.
901
902       This class has the following methods:
903
904       •   $exception->class_name()
905
906           Returns a Str value.
907
908           This attribute can be used for fetching metaclass instance:
909
910               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
911
912       •   $exception->superclass_name()
913
914           Returns a Str value.
915
916   Moose::Exception::CannotOverrideALocalMethod
917       This class consumes the Moose::Exception::Role::Role role.
918
919       This class has the following methods:
920
921       •   $exception->method_name()
922
923           Returns a Str value.
924
925       •   $exception->role_name()
926
927           Returns a Str value.
928
929           This attribute can be used for fetching the class's metaclass
930           instance:
931
932               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
933
934   Moose::Exception::CannotOverrideBodyOfMetaMethods
935       This class consumes the Moose::Exception::Role::ParamsHash role.
936
937       This class has the following methods:
938
939       •   $exception->class()
940
941           Returns a Str value.
942
943       •   $exception->params()
944
945           Returns a HashRef value.
946
947   Moose::Exception::CannotOverrideLocalMethodIsPresent
948       This class consumes the Moose::Exception::Role::Class and
949       Moose::Exception::Role::Method roles.
950
951       This class has the following methods:
952
953       •   $exception->class_name()
954
955           Returns a Str value.
956
957           This attribute can be used for fetching metaclass instance:
958
959               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
960
961       •   $exception->method()
962
963           Returns a Moose::Meta::Method object.
964
965   Moose::Exception::CannotOverrideNoSuperMethod
966       This class consumes the Moose::Exception::Role::ParamsHash role.
967
968       This class has the following methods:
969
970       •   $exception->class()
971
972           Returns a Str value.
973
974       •   $exception->method_name()
975
976           Returns a Str value.
977
978       •   $exception->params()
979
980           Returns a HashRef value.
981
982   Moose::Exception::CannotRegisterUnnamedTypeConstraint
983       This class has no attributes except for "message" and trace().
984
985   Moose::Exception::CannotUseLazyBuildAndDefaultSimultaneously
986       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
987       and Moose::Exception::Role::ParamsHash roles.
988
989       This class has the following methods:
990
991       •   $exception->attribute_name()
992
993           Returns a Str value.
994
995       •   $exception->params()
996
997           Returns a HashRef value.
998
999   Moose::Exception::CircularReferenceInAlso
1000       This class has the following methods:
1001
1002       •   $exception->also_parameter()
1003
1004           Returns a Str value.
1005
1006       •   $exception->stack()
1007
1008           Returns an ArrayRef value.
1009
1010   Moose::Exception::ClassDoesNotHaveInitMeta
1011       This class consumes the Moose::Exception::Role::Class role.
1012
1013       This class has the following methods:
1014
1015       •   $exception->class_name()
1016
1017           Returns a Str value.
1018
1019           This attribute can be used for fetching metaclass instance:
1020
1021               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1022
1023       •   $exception->traits()
1024
1025           Returns an ArrayRef value.
1026
1027   Moose::Exception::ClassDoesTheExcludedRole
1028       This class consumes the Moose::Exception::Role::Class and
1029       Moose::Exception::Role::Role roles.
1030
1031       This class has the following methods:
1032
1033       •   $exception->class_name()
1034
1035           Returns a Str value.
1036
1037           This attribute can be used for fetching metaclass instance:
1038
1039               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1040
1041       •   $exception->excluded_role_name()
1042
1043           Returns a Str value.
1044
1045       •   $exception->role_name()
1046
1047           Returns a Str value.
1048
1049           This attribute can be used for fetching the class's metaclass
1050           instance:
1051
1052               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
1053
1054   Moose::Exception::ClassNamesDoNotMatch
1055       This class has the following methods:
1056
1057       •   $exception->class()
1058
1059           Returns a Class::MOP::Class object.
1060
1061       •   $exception->class_name()
1062
1063           Returns a Str value.
1064
1065   Moose::Exception::CloneObjectExpectsAnInstanceOfMetaclass
1066       This class consumes the Moose::Exception::Role::Class role.
1067
1068       This class has the following methods:
1069
1070       •   $exception->class_name()
1071
1072           Returns a Str value.
1073
1074           This attribute can be used for fetching metaclass instance:
1075
1076               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1077
1078       •   $exception->instance()
1079
1080   Moose::Exception::CodeBlockMustBeACodeRef
1081       This class consumes the Moose::Exception::Role::Instance and
1082       Moose::Exception::Role::ParamsHash roles.
1083
1084       This class has the following methods:
1085
1086       •   $exception->instance()
1087
1088           Returns an Object value.
1089
1090       •   $exception->params()
1091
1092           Returns a HashRef value.
1093
1094   Moose::Exception::CoercingWithoutCoercions
1095       This class consumes the Moose::Exception::Role::TypeConstraint role.
1096
1097       This class has the following methods:
1098
1099       •   $exception->type_name()
1100
1101           Returns a Str value.
1102
1103           This attribute can be used for fetching type
1104           constraint(Moose::Meta::TypeConstraint):
1105
1106               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
1107
1108   Moose::Exception::CoercionAlreadyExists
1109       This class consumes the Moose::Exception::Role::Instance role.
1110
1111       This class has the following methods:
1112
1113       •   $exception->constraint_name()
1114
1115           Returns a Str value.
1116
1117       •   $exception->instance()
1118
1119           Returns an Object value.
1120
1121   Moose::Exception::CoercionNeedsTypeConstraint
1122       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
1123       and Moose::Exception::Role::ParamsHash roles.
1124
1125       This class has the following methods:
1126
1127       •   $exception->attribute_name()
1128
1129           Returns a Str value.
1130
1131       •   $exception->params()
1132
1133           Returns a HashRef value.
1134
1135   Moose::Exception::ConflictDetectedInCheckRoleExclusions
1136       This class consumes the Moose::Exception::Role::Role role.
1137
1138       This class has the following methods:
1139
1140       •   $exception->excluded_role_name()
1141
1142           Returns a Str value.
1143
1144       •   $exception->role_name()
1145
1146           Returns a Str value.
1147
1148           This attribute can be used for fetching the class's metaclass
1149           instance:
1150
1151               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
1152
1153   Moose::Exception::ConflictDetectedInCheckRoleExclusionsInToClass
1154       This class consumes the Moose::Exception::Role::Class and
1155       Moose::Exception::Role::Role roles.
1156
1157       This class has the following methods:
1158
1159       •   $exception->class_name()
1160
1161           Returns a Str value.
1162
1163           This attribute can be used for fetching metaclass instance:
1164
1165               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1166
1167       •   $exception->role_name()
1168
1169           Returns a Str value.
1170
1171           This attribute can be used for fetching the class's metaclass
1172           instance:
1173
1174               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
1175
1176   Moose::Exception::ConstructClassInstanceTakesPackageName
1177       This class has no attributes except for "message" and trace().
1178
1179   Moose::Exception::CouldNotCreateMethod
1180       This class consumes the Moose::Exception::Role::Attribute role.
1181
1182       This class has the following methods:
1183
1184       •   $exception->attribute()
1185
1186           Returns a Class::MOP::Attribute object.
1187
1188       •   $exception->error()
1189
1190           Returns a Str value.
1191
1192       •   $exception->option_name()
1193
1194           Returns a Str value.
1195
1196       •   $exception->option_value()
1197
1198   Moose::Exception::CouldNotCreateWriter
1199       This class consumes the
1200       Moose::Exception::Role::EitherAttributeOrAttributeName and
1201       Moose::Exception::Role::Instance roles.
1202
1203       This class has the following methods:
1204
1205       •   $exception->attribute()
1206
1207           Returns a Class::MOP::Attribute object.
1208
1209       •   $exception->attribute_name()
1210
1211           Returns a Str value.
1212
1213       •   $exception->error()
1214
1215           Returns a Str value.
1216
1217       •   $exception->instance()
1218
1219           Returns an Object value.
1220
1221       •   $exception->params()
1222
1223           Returns a HashRef value.
1224
1225   Moose::Exception::CouldNotEvalConstructor
1226       This class has the following methods:
1227
1228       •   $exception->constructor_method()
1229
1230           Returns a Class::MOP::Method::Constructor object.
1231
1232       •   $exception->error()
1233
1234           Returns a Str value.
1235
1236       •   $exception->source()
1237
1238           Returns a Str value.
1239
1240   Moose::Exception::CouldNotEvalDestructor
1241       This class has the following methods:
1242
1243       •   $exception->error()
1244
1245           Returns a Str value.
1246
1247       •   $exception->method_destructor_object()
1248
1249           Returns a Moose::Meta::Method::Destructor object.
1250
1251       •   $exception->source()
1252
1253           Returns a Str value.
1254
1255   Moose::Exception::CouldNotFindTypeConstraintToCoerceFrom
1256       This class consumes the Moose::Exception::Role::Instance role.
1257
1258       This class has the following methods:
1259
1260       •   $exception->constraint_name()
1261
1262           Returns a Str value.
1263
1264       •   $exception->instance()
1265
1266           Returns an Object value.
1267
1268   Moose::Exception::CouldNotGenerateInlineAttributeMethod
1269       This class consumes the Moose::Exception::Role::Instance role.
1270
1271       This class has the following methods:
1272
1273       •   $exception->error()
1274
1275           Returns a Moose::Exception|Str value.
1276
1277       •   $exception->instance()
1278
1279           Returns an Object value.
1280
1281       •   $exception->option()
1282
1283           Returns a Str value.
1284
1285   Moose::Exception::CouldNotLocateTypeConstraintForUnion
1286       This class consumes the Moose::Exception::Role::TypeConstraint role.
1287
1288       This class has the following methods:
1289
1290       •   $exception->type_name()
1291
1292           Returns a Str value.
1293
1294           This attribute can be used for fetching type
1295           constraint(Moose::Meta::TypeConstraint):
1296
1297               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
1298
1299   Moose::Exception::CouldNotParseType
1300       This class has the following methods:
1301
1302       •   $exception->position()
1303
1304           Returns an Int value.
1305
1306       •   $exception->type()
1307
1308           Returns a Str value.
1309
1310   Moose::Exception::CreateMOPClassTakesArrayRefOfAttributes
1311       This class consumes the Moose::Exception::Role::ParamsHash and
1312       Moose::Exception::Role::RoleForCreateMOPClass roles.
1313
1314       This class has the following methods:
1315
1316       •   $exception->class()
1317
1318           Returns a Str value.
1319
1320       •   $exception->params()
1321
1322           Returns a HashRef value.
1323
1324   Moose::Exception::CreateMOPClassTakesArrayRefOfSuperclasses
1325       This class consumes the Moose::Exception::Role::ParamsHash and
1326       Moose::Exception::Role::RoleForCreateMOPClass roles.
1327
1328       This class has the following methods:
1329
1330       •   $exception->class()
1331
1332           Returns a Str value.
1333
1334       •   $exception->params()
1335
1336           Returns a HashRef value.
1337
1338   Moose::Exception::CreateMOPClassTakesHashRefOfMethods
1339       This class consumes the Moose::Exception::Role::ParamsHash and
1340       Moose::Exception::Role::RoleForCreateMOPClass roles.
1341
1342       This class has the following methods:
1343
1344       •   $exception->class()
1345
1346           Returns a Str value.
1347
1348       •   $exception->params()
1349
1350           Returns a HashRef value.
1351
1352   Moose::Exception::CreateTakesArrayRefOfRoles
1353       This class consumes the Moose::Exception::Role::ParamsHash and
1354       Moose::Exception::Role::RoleForCreate roles.
1355
1356       This class has the following methods:
1357
1358       •   $exception->attribute_class()
1359
1360           Returns a Str value.
1361
1362       •   $exception->params()
1363
1364           Returns a HashRef value.
1365
1366   Moose::Exception::CreateTakesHashRefOfAttributes
1367       This class consumes the Moose::Exception::Role::ParamsHash and
1368       Moose::Exception::Role::RoleForCreate roles.
1369
1370       This class has the following methods:
1371
1372       •   $exception->attribute_class()
1373
1374           Returns a Str value.
1375
1376       •   $exception->params()
1377
1378           Returns a HashRef value.
1379
1380   Moose::Exception::CreateTakesHashRefOfMethods
1381       This class consumes the Moose::Exception::Role::ParamsHash and
1382       Moose::Exception::Role::RoleForCreate roles.
1383
1384       This class has the following methods:
1385
1386       •   $exception->attribute_class()
1387
1388           Returns a Str value.
1389
1390       •   $exception->params()
1391
1392           Returns a HashRef value.
1393
1394   Moose::Exception::DefaultToMatchOnTypeMustBeCodeRef
1395       This class has the following methods:
1396
1397       •   $exception->cases_to_be_matched()
1398
1399           Returns an ArrayRef value.
1400
1401       •   $exception->default_action()
1402
1403       •   $exception->to_match()
1404
1405   Moose::Exception::DelegationToAClassWhichIsNotLoaded
1406       This class consumes the Moose::Exception::Role::Attribute role.
1407
1408       This class has the following methods:
1409
1410       •   $exception->attribute()
1411
1412           Returns a Class::MOP::Attribute object.
1413
1414       •   $exception->class_name()
1415
1416           Returns a Str value.
1417
1418   Moose::Exception::DelegationToARoleWhichIsNotLoaded
1419       This class consumes the Moose::Exception::Role::Attribute role.
1420
1421       This class has the following methods:
1422
1423       •   $exception->attribute()
1424
1425           Returns a Class::MOP::Attribute object.
1426
1427       •   $exception->role_name()
1428
1429           Returns a Str value.
1430
1431   Moose::Exception::DelegationToATypeWhichIsNotAClass
1432       This class consumes the Moose::Exception::Role::Attribute role.
1433
1434       This class has the following methods:
1435
1436       •   $exception->attribute()
1437
1438           Returns a Class::MOP::Attribute object.
1439
1440   Moose::Exception::DoesRequiresRoleName
1441       This class consumes the Moose::Exception::Role::Class role.
1442
1443       This class has the following methods:
1444
1445       •   $exception->class_name()
1446
1447           Returns a Str value.
1448
1449           This attribute can be used for fetching metaclass instance:
1450
1451               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1452
1453   Moose::Exception::EnumCalledWithAnArrayRefAndAdditionalArgs
1454       This class has the following methods:
1455
1456       •   $exception->args()
1457
1458           Returns an ArrayRef value.
1459
1460       •   $exception->array()
1461
1462           Returns an ArrayRef value.
1463
1464   Moose::Exception::EnumValuesMustBeString
1465       This class consumes the Moose::Exception::Role::ParamsHash role.
1466
1467       This class has the following methods:
1468
1469       •   $exception->class()
1470
1471           Returns a Str value.
1472
1473       •   $exception->params()
1474
1475           Returns a HashRef value.
1476
1477       •   $exception->value()
1478
1479   Moose::Exception::ExtendsMissingArgs
1480       This class consumes the Moose::Exception::Role::Class role.
1481
1482       This class has the following methods:
1483
1484       •   $exception->class_name()
1485
1486           Returns a Str value.
1487
1488           This attribute can be used for fetching metaclass instance:
1489
1490               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1491
1492   Moose::Exception::HandlesMustBeAHashRef
1493       This class consumes the Moose::Exception::Role::Instance role.
1494
1495       This class has the following methods:
1496
1497       •   $exception->given_handles()
1498
1499       •   $exception->instance()
1500
1501           Returns an Object value.
1502
1503   Moose::Exception::IllegalInheritedOptions
1504       This class consumes the Moose::Exception::Role::ParamsHash role.
1505
1506       This class has the following methods:
1507
1508       •   $exception->illegal_options()
1509
1510           Returns an ArrayRef value.
1511
1512       •   $exception->params()
1513
1514           Returns a HashRef value.
1515
1516   Moose::Exception::IllegalMethodTypeToAddMethodModifier
1517       This class has the following methods:
1518
1519       •   $exception->class_or_object()
1520
1521       •   $exception->modifier_name()
1522
1523           Returns a Str value.
1524
1525       •   $exception->params()
1526
1527           Returns an ArrayRef value.
1528
1529   Moose::Exception::IncompatibleMetaclassOfSuperclass
1530       This class consumes the Moose::Exception::Role::Class role.
1531
1532       This class has the following methods:
1533
1534       •   $exception->class_meta_type()
1535
1536           Returns a Str value.
1537
1538       •   $exception->class_name()
1539
1540           Returns a Str value.
1541
1542           This attribute can be used for fetching metaclass instance:
1543
1544               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1545
1546       •   $exception->superclass_meta_type()
1547
1548           Returns a Str value.
1549
1550       •   $exception->superclass_name()
1551
1552           Returns a Str value.
1553
1554   Moose::Exception::InitMetaRequiresClass
1555       This class consumes the Moose::Exception::Role::ParamsHash role.
1556
1557       This class has the following methods:
1558
1559       •   $exception->params()
1560
1561           Returns a HashRef value.
1562
1563   Moose::Exception::InitializeTakesUnBlessedPackageName
1564       This class has the following methods:
1565
1566       •   $exception->package_name()
1567
1568   Moose::Exception::InstanceBlessedIntoWrongClass
1569       This class consumes the Moose::Exception::Role::Class,
1570       Moose::Exception::Role::Instance, and
1571       Moose::Exception::Role::ParamsHash roles.
1572
1573       This class has the following methods:
1574
1575       •   $exception->class_name()
1576
1577           Returns a Str value.
1578
1579           This attribute can be used for fetching metaclass instance:
1580
1581               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1582
1583       •   $exception->instance()
1584
1585           Returns an Object value.
1586
1587       •   $exception->params()
1588
1589           Returns a HashRef value.
1590
1591   Moose::Exception::InstanceMustBeABlessedReference
1592       This class consumes the Moose::Exception::Role::Class and
1593       Moose::Exception::Role::ParamsHash roles.
1594
1595       This class has the following methods:
1596
1597       •   $exception->class_name()
1598
1599           Returns a Str value.
1600
1601           This attribute can be used for fetching metaclass instance:
1602
1603               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1604
1605       •   $exception->instance()
1606
1607       •   $exception->params()
1608
1609           Returns a HashRef value.
1610
1611   Moose::Exception::InvalidArgPassedToMooseUtilMetaRole
1612       This class has the following methods:
1613
1614       •   $exception->argument()
1615
1616   Moose::Exception::InvalidArgumentToMethod
1617       This class has the following methods:
1618
1619       •   $exception->argument()
1620
1621       •   $exception->argument_noun()
1622
1623           Returns a Str value.
1624
1625       •   $exception->method_name()
1626
1627           Returns a Str value.
1628
1629       •   $exception->ordinal()
1630
1631           Returns a Str value.
1632
1633       •   $exception->type()
1634
1635           Returns a Str value.
1636
1637       •   $exception->type_of_argument()
1638
1639           Returns a Str value.
1640
1641   Moose::Exception::InvalidArgumentsToTraitAliases
1642       This class consumes the Moose::Exception::Role::Class role.
1643
1644       This class has the following methods:
1645
1646       •   $exception->alias()
1647
1648       •   $exception->class_name()
1649
1650           Returns a Str value.
1651
1652           This attribute can be used for fetching metaclass instance:
1653
1654               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1655
1656       •   $exception->package_name()
1657
1658           Returns a Str value.
1659
1660   Moose::Exception::InvalidBaseTypeGivenToCreateParameterizedTypeConstraint
1661       This class consumes the Moose::Exception::Role::TypeConstraint role.
1662
1663       This class has the following methods:
1664
1665       •   $exception->type_name()
1666
1667           Returns a Str value.
1668
1669           This attribute can be used for fetching type
1670           constraint(Moose::Meta::TypeConstraint):
1671
1672               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
1673
1674   Moose::Exception::InvalidHandleValue
1675       This class consumes the Moose::Exception::Role::Instance role.
1676
1677       This class has the following methods:
1678
1679       •   $exception->handle_value()
1680
1681       •   $exception->instance()
1682
1683           Returns an Object value.
1684
1685   Moose::Exception::InvalidHasProvidedInARole
1686       This class consumes the Moose::Exception::Role::Role role.
1687
1688       This class has the following methods:
1689
1690       •   $exception->attribute_name()
1691
1692           Returns a Str value.
1693
1694       •   $exception->role_name()
1695
1696           Returns a Str value.
1697
1698           This attribute can be used for fetching the class's metaclass
1699           instance:
1700
1701               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
1702
1703   Moose::Exception::InvalidNameForType
1704       This class has the following methods:
1705
1706       •   $exception->name()
1707
1708           Returns a Str value.
1709
1710   Moose::Exception::InvalidOverloadOperator
1711       This class has the following methods:
1712
1713       •   $exception->operator()
1714
1715           Returns a Defined value.
1716
1717   Moose::Exception::InvalidRoleApplication
1718       This class consumes the Moose::Exception::Role::Class role.
1719
1720       This class has the following methods:
1721
1722       •   $exception->application()
1723
1724       •   $exception->class_name()
1725
1726           Returns a Str value.
1727
1728           This attribute can be used for fetching metaclass instance:
1729
1730               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1731
1732   Moose::Exception::InvalidTypeConstraint
1733       This class has the following methods:
1734
1735       •   $exception->registry_object()
1736
1737           Returns a Moose::Meta::TypeConstraint::Registry object.
1738
1739       •   $exception->type()
1740
1741   Moose::Exception::InvalidTypeGivenToCreateParameterizedTypeConstraint
1742       This class consumes the Moose::Exception::Role::TypeConstraint role.
1743
1744       This class has the following methods:
1745
1746       •   $exception->type_name()
1747
1748           Returns a Str value.
1749
1750           This attribute can be used for fetching type
1751           constraint(Moose::Meta::TypeConstraint):
1752
1753               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
1754
1755   Moose::Exception::InvalidValueForIs
1756       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
1757       and Moose::Exception::Role::ParamsHash roles.
1758
1759       This class has the following methods:
1760
1761       •   $exception->attribute_name()
1762
1763           Returns a Str value.
1764
1765       •   $exception->params()
1766
1767           Returns a HashRef value.
1768
1769   Moose::Exception::IsaDoesNotDoTheRole
1770       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
1771       and Moose::Exception::Role::ParamsHash roles.
1772
1773       This class has the following methods:
1774
1775       •   $exception->attribute_name()
1776
1777           Returns a Str value.
1778
1779       •   $exception->params()
1780
1781           Returns a HashRef value.
1782
1783   Moose::Exception::IsaLacksDoesMethod
1784       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
1785       and Moose::Exception::Role::ParamsHash roles.
1786
1787       This class has the following methods:
1788
1789       •   $exception->attribute_name()
1790
1791           Returns a Str value.
1792
1793       •   $exception->params()
1794
1795           Returns a HashRef value.
1796
1797   Moose::Exception::LazyAttributeNeedsADefault
1798       This class consumes the
1799       Moose::Exception::Role::EitherAttributeOrAttributeName role.
1800
1801       This class has the following methods:
1802
1803       •   $exception->attribute()
1804
1805           Returns a Class::MOP::Attribute object.
1806
1807       •   $exception->attribute_name()
1808
1809           Returns a Str value.
1810
1811       •   $exception->params()
1812
1813           Returns a HashRef value.
1814
1815   Moose::Exception::Legacy
1816       This class has no attributes except for "message" and trace().
1817
1818   Moose::Exception::MOPAttributeNewNeedsAttributeName
1819       This class consumes the Moose::Exception::Role::ParamsHash role.
1820
1821       This class has the following methods:
1822
1823       •   $exception->class()
1824
1825           Returns a Str value.
1826
1827       •   $exception->params()
1828
1829           Returns a HashRef value.
1830
1831   Moose::Exception::MatchActionMustBeACodeRef
1832       This class consumes the Moose::Exception::Role::TypeConstraint role.
1833
1834       This class has the following methods:
1835
1836       •   $exception->action()
1837
1838       •   $exception->to_match()
1839
1840       •   $exception->type_name()
1841
1842           Returns a Str value.
1843
1844           This attribute can be used for fetching type
1845           constraint(Moose::Meta::TypeConstraint):
1846
1847               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
1848
1849   Moose::Exception::MessageParameterMustBeCodeRef
1850       This class consumes the Moose::Exception::Role::ParamsHash role.
1851
1852       This class has the following methods:
1853
1854       •   $exception->class()
1855
1856           Returns a Str value.
1857
1858       •   $exception->params()
1859
1860           Returns a HashRef value.
1861
1862   Moose::Exception::MetaclassIsAClassNotASubclassOfGivenMetaclass
1863       This class consumes the Moose::Exception::Role::Class role.
1864
1865       This class has the following methods:
1866
1867       •   $exception->class_name()
1868
1869           Returns a Str value.
1870
1871           This attribute can be used for fetching metaclass instance:
1872
1873               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1874
1875       •   $exception->metaclass()
1876
1877           Returns a Str value.
1878
1879   Moose::Exception::MetaclassIsARoleNotASubclassOfGivenMetaclass
1880       This class consumes the Moose::Exception::Role::Role role.
1881
1882       This class has the following methods:
1883
1884       •   $exception->metaclass()
1885
1886           Returns a Str value.
1887
1888       •   $exception->role_name()
1889
1890           Returns a Str value.
1891
1892           This attribute can be used for fetching the class's metaclass
1893           instance:
1894
1895               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
1896
1897   Moose::Exception::MetaclassIsNotASubclassOfGivenMetaclass
1898       This class consumes the Moose::Exception::Role::Class role.
1899
1900       This class has the following methods:
1901
1902       •   $exception->class_name()
1903
1904           Returns a Str value.
1905
1906           This attribute can be used for fetching metaclass instance:
1907
1908               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1909
1910       •   $exception->metaclass()
1911
1912           Returns a Str value.
1913
1914   Moose::Exception::MetaclassMustBeASubclassOfMooseMetaClass
1915       This class consumes the Moose::Exception::Role::Class role.
1916
1917       This class has the following methods:
1918
1919       •   $exception->class_name()
1920
1921           Returns a Str value.
1922
1923           This attribute can be used for fetching metaclass instance:
1924
1925               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1926
1927   Moose::Exception::MetaclassMustBeASubclassOfMooseMetaRole
1928       This class consumes the Moose::Exception::Role::Role role.
1929
1930       This class has the following methods:
1931
1932       •   $exception->role_name()
1933
1934           Returns a Str value.
1935
1936           This attribute can be used for fetching the class's metaclass
1937           instance:
1938
1939               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
1940
1941   Moose::Exception::MetaclassMustBeDerivedFromClassMOPClass
1942       This class has the following methods:
1943
1944       •   $exception->class_name()
1945
1946           Returns a Str value.
1947
1948   Moose::Exception::MetaclassNotLoaded
1949       This class consumes the Moose::Exception::Role::Class role.
1950
1951       This class has the following methods:
1952
1953       •   $exception->class_name()
1954
1955           Returns a Str value.
1956
1957           This attribute can be used for fetching metaclass instance:
1958
1959               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1960
1961   Moose::Exception::MetaclassTypeIncompatible
1962       This class consumes the Moose::Exception::Role::Class role.
1963
1964       This class has the following methods:
1965
1966       •   $exception->class_name()
1967
1968           Returns a Str value.
1969
1970           This attribute can be used for fetching metaclass instance:
1971
1972               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
1973
1974       •   $exception->metaclass_type()
1975
1976           Returns a Str value.
1977
1978       •   $exception->superclass_name()
1979
1980           Returns a Str value.
1981
1982   Moose::Exception::MethodExpectedAMetaclassObject
1983       This class has the following methods:
1984
1985       •   $exception->class()
1986
1987           Returns a Str value.
1988
1989       •   $exception->metaclass()
1990
1991   Moose::Exception::MethodExpectsFewerArgs
1992       This class has the following methods:
1993
1994       •   $exception->maximum_args()
1995
1996           Returns an Int value.
1997
1998       •   $exception->method_name()
1999
2000           Returns a Str value.
2001
2002   Moose::Exception::MethodExpectsMoreArgs
2003       This class has the following methods:
2004
2005       •   $exception->method_name()
2006
2007           Returns a Str value.
2008
2009       •   $exception->minimum_args()
2010
2011           Returns an Int value.
2012
2013   Moose::Exception::MethodModifierNeedsMethodName
2014       This class consumes the Moose::Exception::Role::Class role.
2015
2016       This class has the following methods:
2017
2018       •   $exception->class_name()
2019
2020           Returns a Str value.
2021
2022           This attribute can be used for fetching metaclass instance:
2023
2024               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2025
2026   Moose::Exception::MethodNameConflictInRoles
2027       This class consumes the Moose::Exception::Role::Class role.
2028
2029       This class has the following methods:
2030
2031       •   $exception->class_name()
2032
2033           Returns a Str value.
2034
2035           This attribute can be used for fetching metaclass instance:
2036
2037               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2038
2039       •   $exception->conflict()
2040
2041           Returns an ArrayRef[Moose::Meta::Role::Method::Conflicting] value.
2042
2043   Moose::Exception::MethodNameNotFoundInInheritanceHierarchy
2044       This class consumes the Moose::Exception::Role::Class role.
2045
2046       This class has the following methods:
2047
2048       •   $exception->class_name()
2049
2050           Returns a Str value.
2051
2052           This attribute can be used for fetching metaclass instance:
2053
2054               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2055
2056       •   $exception->method_name()
2057
2058           Returns a Str value.
2059
2060   Moose::Exception::MethodNameNotGiven
2061       This class consumes the Moose::Exception::Role::Class role.
2062
2063       This class has the following methods:
2064
2065       •   $exception->class_name()
2066
2067           Returns a Str value.
2068
2069           This attribute can be used for fetching metaclass instance:
2070
2071               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2072
2073   Moose::Exception::MustDefineAMethodName
2074       This class consumes the Moose::Exception::Role::Instance role.
2075
2076       This class has the following methods:
2077
2078       •   $exception->instance()
2079
2080           Returns an Object value.
2081
2082   Moose::Exception::MustDefineAnAttributeName
2083       This class consumes the Moose::Exception::Role::Class role.
2084
2085       This class has the following methods:
2086
2087       •   $exception->class_name()
2088
2089           Returns a Str value.
2090
2091           This attribute can be used for fetching metaclass instance:
2092
2093               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2094
2095   Moose::Exception::MustDefineAnOverloadOperator
2096       This class consumes the Moose::Exception::Role::Instance role.
2097
2098       This class has the following methods:
2099
2100       •   $exception->instance()
2101
2102           Returns an Object value.
2103
2104   Moose::Exception::MustHaveAtLeastOneValueToEnumerate
2105       This class consumes the Moose::Exception::Role::ParamsHash role.
2106
2107       This class has the following methods:
2108
2109       •   $exception->class()
2110
2111           Returns a Str value.
2112
2113       •   $exception->params()
2114
2115           Returns a HashRef value.
2116
2117   Moose::Exception::MustPassAHashOfOptions
2118       This class consumes the Moose::Exception::Role::ParamsHash role.
2119
2120       This class has the following methods:
2121
2122       •   $exception->class()
2123
2124           Returns a Str value.
2125
2126       •   $exception->params()
2127
2128           Returns a HashRef value.
2129
2130   Moose::Exception::MustPassAMooseMetaRoleInstanceOrSubclass
2131       This class has the following methods:
2132
2133       •   $exception->class()
2134
2135           Returns a Str value.
2136
2137       •   $exception->role()
2138
2139   Moose::Exception::MustPassAPackageNameOrAnExistingClassMOPPackageInstance
2140       This class consumes the Moose::Exception::Role::ParamsHash role.
2141
2142       This class has the following methods:
2143
2144       •   $exception->class()
2145
2146       •   $exception->params()
2147
2148           Returns a HashRef value.
2149
2150   Moose::Exception::MustPassEvenNumberOfArguments
2151       This class has the following methods:
2152
2153       •   $exception->args()
2154
2155           Returns an ArrayRef value.
2156
2157       •   $exception->method_name()
2158
2159           Returns a Str value.
2160
2161   Moose::Exception::MustPassEvenNumberOfAttributeOptions
2162       This class has the following methods:
2163
2164       •   $exception->attribute_name()
2165
2166           Returns a Str value.
2167
2168       •   $exception->options()
2169
2170           Returns an ArrayRef value.
2171
2172   Moose::Exception::MustProvideANameForTheAttribute
2173       This class consumes the Moose::Exception::Role::ParamsHash role.
2174
2175       This class has the following methods:
2176
2177       •   $exception->class()
2178
2179           Returns a Str value.
2180
2181       •   $exception->params()
2182
2183           Returns a HashRef value.
2184
2185   Moose::Exception::MustSpecifyAtleastOneMethod
2186       This class consumes the Moose::Exception::Role::Role role.
2187
2188       This class has the following methods:
2189
2190       •   $exception->role_name()
2191
2192           Returns a Str value.
2193
2194           This attribute can be used for fetching the class's metaclass
2195           instance:
2196
2197               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
2198
2199   Moose::Exception::MustSpecifyAtleastOneRole
2200       This class consumes the Moose::Exception::Role::Role role.
2201
2202       This class has the following methods:
2203
2204       •   $exception->role_name()
2205
2206           Returns a Str value.
2207
2208           This attribute can be used for fetching the class's metaclass
2209           instance:
2210
2211               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
2212
2213   Moose::Exception::MustSpecifyAtleastOneRoleToApplicant
2214       This class has the following methods:
2215
2216       •   $exception->applicant()
2217
2218   Moose::Exception::MustSupplyAClassMOPAttributeInstance
2219       This class consumes the Moose::Exception::Role::ParamsHash role.
2220
2221       This class has the following methods:
2222
2223       •   $exception->class()
2224
2225           Returns a Str value.
2226
2227       •   $exception->params()
2228
2229           Returns a HashRef value.
2230
2231   Moose::Exception::MustSupplyADelegateToMethod
2232       This class consumes the Moose::Exception::Role::ParamsHash role.
2233
2234       This class has the following methods:
2235
2236       •   $exception->class()
2237
2238           Returns a Str value.
2239
2240       •   $exception->params()
2241
2242           Returns a HashRef value.
2243
2244   Moose::Exception::MustSupplyAMetaclass
2245       This class consumes the Moose::Exception::Role::ParamsHash role.
2246
2247       This class has the following methods:
2248
2249       •   $exception->class()
2250
2251           Returns a Str value.
2252
2253       •   $exception->params()
2254
2255           Returns a HashRef value.
2256
2257   Moose::Exception::MustSupplyAMooseMetaAttributeInstance
2258       This class consumes the Moose::Exception::Role::ParamsHash role.
2259
2260       This class has the following methods:
2261
2262       •   $exception->class()
2263
2264           Returns a Str value.
2265
2266       •   $exception->params()
2267
2268           Returns a HashRef value.
2269
2270   Moose::Exception::MustSupplyAnAccessorTypeToConstructWith
2271       This class consumes the Moose::Exception::Role::ParamsHash role.
2272
2273       This class has the following methods:
2274
2275       •   $exception->class()
2276
2277           Returns a Str value.
2278
2279       •   $exception->params()
2280
2281           Returns a HashRef value.
2282
2283   Moose::Exception::MustSupplyAnAttributeToConstructWith
2284       This class consumes the Moose::Exception::Role::ParamsHash role.
2285
2286       This class has the following methods:
2287
2288       •   $exception->class()
2289
2290           Returns a Str value.
2291
2292       •   $exception->params()
2293
2294           Returns a HashRef value.
2295
2296   Moose::Exception::MustSupplyArrayRefAsCurriedArguments
2297       This class consumes the Moose::Exception::Role::Class and
2298       Moose::Exception::Role::ParamsHash roles.
2299
2300       This class has the following methods:
2301
2302       •   $exception->class_name()
2303
2304           Returns a Str value.
2305
2306           This attribute can be used for fetching metaclass instance:
2307
2308               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2309
2310       •   $exception->params()
2311
2312           Returns a HashRef value.
2313
2314   Moose::Exception::MustSupplyPackageNameAndName
2315       This class consumes the Moose::Exception::Role::ParamsHash role.
2316
2317       This class has the following methods:
2318
2319       •   $exception->class()
2320
2321           Returns a Str value.
2322
2323       •   $exception->params()
2324
2325           Returns a HashRef value.
2326
2327   Moose::Exception::NeedsTypeConstraintUnionForTypeCoercionUnion
2328       This class consumes the Moose::Exception::Role::TypeConstraint role.
2329
2330       This class has the following methods:
2331
2332       •   $exception->type_coercion_union_object()
2333
2334           Returns a Moose::Meta::TypeCoercion::Union object.
2335
2336       •   $exception->type_name()
2337
2338           Returns a Str value.
2339
2340           This attribute can be used for fetching type
2341           constraint(Moose::Meta::TypeConstraint):
2342
2343               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
2344
2345   Moose::Exception::NeitherAttributeNorAttributeNameIsGiven
2346       This class has no attributes except for "message" and trace().
2347
2348   Moose::Exception::NeitherClassNorClassNameIsGiven
2349       This class has no attributes except for "message" and trace().
2350
2351   Moose::Exception::NeitherRoleNorRoleNameIsGiven
2352       This class has no attributes except for "message" and trace().
2353
2354   Moose::Exception::NeitherTypeNorTypeNameIsGiven
2355       This class has no attributes except for "message" and trace().
2356
2357   Moose::Exception::NoAttributeFoundInSuperClass
2358       This class consumes the Moose::Exception::Role::Class,
2359       Moose::Exception::Role::InvalidAttributeOptions, and
2360       Moose::Exception::Role::ParamsHash roles.
2361
2362       This class has the following methods:
2363
2364       •   $exception->attribute_name()
2365
2366           Returns a Str value.
2367
2368       •   $exception->class_name()
2369
2370           Returns a Str value.
2371
2372           This attribute can be used for fetching metaclass instance:
2373
2374               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2375
2376       •   $exception->params()
2377
2378           Returns a HashRef value.
2379
2380   Moose::Exception::NoBodyToInitializeInAnAbstractBaseClass
2381       This class has the following methods:
2382
2383       •   $exception->package_name()
2384
2385           Returns a Str value.
2386
2387   Moose::Exception::NoCasesMatched
2388       This class has the following methods:
2389
2390       •   $exception->cases_to_be_matched()
2391
2392           Returns an ArrayRef value.
2393
2394       •   $exception->to_match()
2395
2396   Moose::Exception::NoConstraintCheckForTypeConstraint
2397       This class consumes the Moose::Exception::Role::TypeConstraint role.
2398
2399       This class has the following methods:
2400
2401       •   $exception->type_name()
2402
2403           Returns a Str value.
2404
2405           This attribute can be used for fetching type
2406           constraint(Moose::Meta::TypeConstraint):
2407
2408               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
2409
2410   Moose::Exception::NoDestructorClassSpecified
2411       This class consumes the Moose::Exception::Role::Class and
2412       Moose::Exception::Role::ParamsHash roles.
2413
2414       This class has the following methods:
2415
2416       •   $exception->class_name()
2417
2418           Returns a Str value.
2419
2420           This attribute can be used for fetching metaclass instance:
2421
2422               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2423
2424       •   $exception->params()
2425
2426           Returns a HashRef value.
2427
2428   Moose::Exception::NoImmutableTraitSpecifiedForClass
2429       This class consumes the Moose::Exception::Role::Class and
2430       Moose::Exception::Role::ParamsHash roles.
2431
2432       This class has the following methods:
2433
2434       •   $exception->class_name()
2435
2436           Returns a Str value.
2437
2438           This attribute can be used for fetching metaclass instance:
2439
2440               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2441
2442       •   $exception->params()
2443
2444           Returns a HashRef value.
2445
2446   Moose::Exception::NoParentGivenToSubtype
2447       This class has the following methods:
2448
2449       •   $exception->name()
2450
2451           Returns a Str value.
2452
2453   Moose::Exception::OnlyInstancesCanBeCloned
2454       This class consumes the Moose::Exception::Role::Class and
2455       Moose::Exception::Role::ParamsHash roles.
2456
2457       This class has the following methods:
2458
2459       •   $exception->class_name()
2460
2461           Returns a Str value.
2462
2463           This attribute can be used for fetching metaclass instance:
2464
2465               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2466
2467       •   $exception->instance()
2468
2469       •   $exception->params()
2470
2471           Returns a HashRef value.
2472
2473   Moose::Exception::OperatorIsRequired
2474       This class consumes the Moose::Exception::Role::ParamsHash role.
2475
2476       This class has the following methods:
2477
2478       •   $exception->class()
2479
2480           Returns a Str value.
2481
2482       •   $exception->params()
2483
2484           Returns a HashRef value.
2485
2486   Moose::Exception::OverloadConflictInSummation
2487       This class has the following methods:
2488
2489       •   $exception->overloaded_op()
2490
2491           Returns a Str value.
2492
2493       •   $exception->role_application()
2494
2495           Returns a Moose::Meta::Role::Application::RoleSummation object.
2496
2497       •   $exception->role_names()
2498
2499       •   $exception->elements()
2500
2501           This attribute is an ArrayRef containing role names, if you want
2502           metaobjects associated with these role names, then call method
2503           roles on the exception object.
2504
2505   Moose::Exception::OverloadRequiresAMetaClass
2506       This class has no attributes except for "message" and trace().
2507
2508   Moose::Exception::OverloadRequiresAMetaMethod
2509       This class has no attributes except for "message" and trace().
2510
2511   Moose::Exception::OverloadRequiresAMetaOverload
2512       This class has no attributes except for "message" and trace().
2513
2514   Moose::Exception::OverloadRequiresAMethodNameOrCoderef
2515       This class has no attributes except for "message" and trace().
2516
2517   Moose::Exception::OverloadRequiresAnOperator
2518       This class has no attributes except for "message" and trace().
2519
2520   Moose::Exception::OverloadRequiresNamesForCoderef
2521       This class has no attributes except for "message" and trace().
2522
2523   Moose::Exception::OverrideConflictInComposition
2524       This class consumes the Moose::Exception::Role::Role role.
2525
2526       This class has the following methods:
2527
2528       •   $exception->method_name()
2529
2530           Returns a Str value.
2531
2532       •   $exception->role_being_applied_name()
2533
2534           Returns a Str value.
2535
2536       •   $exception->role_name()
2537
2538           Returns a Str value.
2539
2540           This attribute can be used for fetching the class's metaclass
2541           instance:
2542
2543               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
2544
2545       •   $exception->two_overrides_found()
2546
2547           Returns a Bool value.
2548
2549   Moose::Exception::OverrideConflictInSummation
2550       This class has the following methods:
2551
2552       •   $exception->method_name()
2553
2554           Returns a Str value.
2555
2556       •   $exception->role_application()
2557
2558           Returns a Moose::Meta::Role::Application::RoleSummation object.
2559
2560       •   $exception->role_names()
2561
2562       •   $exception->elements()
2563
2564           This attribute is an ArrayRef containing role names, if you want
2565           metaobjects associated with these role names, then call method
2566           roles on the exception object.
2567
2568       •   $exception->two_overrides_found()
2569
2570           Returns a Bool value.
2571
2572   Moose::Exception::PackageDoesNotUseMooseExporter
2573       This class has the following methods:
2574
2575       •   $exception->is_loaded()
2576
2577           Returns a Bool value.
2578
2579       •   $exception->package()
2580
2581           Returns a Str value.
2582
2583   Moose::Exception::PackageNameAndNameParamsNotGivenToWrap
2584       This class consumes the Moose::Exception::Role::ParamsHash role.
2585
2586       This class has the following methods:
2587
2588       •   $exception->class()
2589
2590           Returns a Str value.
2591
2592       •   $exception->code()
2593
2594           Returns a CodeRef value.
2595
2596       •   $exception->params()
2597
2598           Returns a HashRef value.
2599
2600   Moose::Exception::PackagesAndModulesAreNotCachable
2601       This class consumes the Moose::Exception::Role::Class and
2602       Moose::Exception::Role::ParamsHash roles.
2603
2604       This class has the following methods:
2605
2606       •   $exception->class_name()
2607
2608           Returns a Str value.
2609
2610           This attribute can be used for fetching metaclass instance:
2611
2612               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2613
2614       •   $exception->is_module()
2615
2616           Returns a Bool value.
2617
2618       •   $exception->params()
2619
2620           Returns a HashRef value.
2621
2622   Moose::Exception::ParameterIsNotSubtypeOfParent
2623       This class consumes the Moose::Exception::Role::TypeConstraint role.
2624
2625       This class has the following methods:
2626
2627       •   $exception->type_name()
2628
2629           Returns a Str value.
2630
2631           This attribute can be used for fetching type
2632           constraint(Moose::Meta::TypeConstraint):
2633
2634               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
2635
2636       •   $exception->type_parameter()
2637
2638           Returns a Str value.
2639
2640   Moose::Exception::ReferencesAreNotAllowedAsDefault
2641       This class consumes the Moose::Exception::Role::ParamsHash role.
2642
2643       This class has the following methods:
2644
2645       •   $exception->attribute_name()
2646
2647           Returns a Str value.
2648
2649       •   $exception->class()
2650
2651           Returns a Str value.
2652
2653       •   $exception->params()
2654
2655           Returns a HashRef value.
2656
2657   Moose::Exception::RequiredAttributeLacksInitialization
2658       This class consumes the Moose::Exception::Role::ParamsHash role.
2659
2660       This class has the following methods:
2661
2662       •   $exception->class()
2663
2664           Returns a Str value.
2665
2666       •   $exception->params()
2667
2668           Returns a HashRef value.
2669
2670   Moose::Exception::RequiredAttributeNeedsADefault
2671       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
2672       and Moose::Exception::Role::ParamsHash roles.
2673
2674       This class has the following methods:
2675
2676       •   $exception->attribute_name()
2677
2678           Returns a Str value.
2679
2680       •   $exception->params()
2681
2682           Returns a HashRef value.
2683
2684   Moose::Exception::RequiredMethodsImportedByClass
2685       This class consumes the Moose::Exception::Role::Class and
2686       Moose::Exception::Role::Role roles.
2687
2688       This class has the following methods:
2689
2690       •   $exception->class_name()
2691
2692           Returns a Str value.
2693
2694           This attribute can be used for fetching metaclass instance:
2695
2696               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2697
2698       •   $exception->imported_method()
2699
2700           Returns a Moose::Meta::Role::Method::Required object.
2701
2702       •   $exception->missing_methods()
2703
2704           Returns an ArrayRef[Moose::Meta::Role::Method::Required] value.
2705
2706       •   $exception->role_name()
2707
2708           Returns a Str value.
2709
2710           This attribute can be used for fetching the class's metaclass
2711           instance:
2712
2713               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
2714
2715   Moose::Exception::RequiredMethodsNotImplementedByClass
2716       This class consumes the Moose::Exception::Role::Class and
2717       Moose::Exception::Role::Role roles.
2718
2719       This class has the following methods:
2720
2721       •   $exception->class_name()
2722
2723           Returns a Str value.
2724
2725           This attribute can be used for fetching metaclass instance:
2726
2727               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2728
2729       •   $exception->missing_methods()
2730
2731           Returns an ArrayRef[Moose::Meta::Role::Method::Required] value.
2732
2733       •   $exception->role_name()
2734
2735           Returns a Str value.
2736
2737           This attribute can be used for fetching the class's metaclass
2738           instance:
2739
2740               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
2741
2742   Moose::Exception::RoleDoesTheExcludedRole
2743       This class consumes the Moose::Exception::Role::Role role.
2744
2745       This class has the following methods:
2746
2747       •   $exception->excluded_role_name()
2748
2749           Returns a Str value.
2750
2751       •   $exception->role_name()
2752
2753           Returns a Str value.
2754
2755           This attribute can be used for fetching the class's metaclass
2756           instance:
2757
2758               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
2759
2760       •   $exception->second_role_name()
2761
2762           Returns a Str value.
2763
2764   Moose::Exception::RoleExclusionConflict
2765       This class consumes the Moose::Exception::Role::Role role.
2766
2767       This class has the following methods:
2768
2769       •   $exception->role_name()
2770
2771           Returns a Str value.
2772
2773           This attribute can be used for fetching the class's metaclass
2774           instance:
2775
2776               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
2777
2778       •   $exception->roles()
2779
2780           Returns an ArrayRef value.
2781
2782   Moose::Exception::RoleNameRequired
2783       This class consumes the Moose::Exception::Role::Class role.
2784
2785       This class has the following methods:
2786
2787       •   $exception->class_name()
2788
2789           Returns a Str value.
2790
2791           This attribute can be used for fetching metaclass instance:
2792
2793               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
2794
2795   Moose::Exception::RoleNameRequiredForMooseMetaRole
2796       This class consumes the Moose::Exception::Role::Role role.
2797
2798       This class has the following methods:
2799
2800       •   $exception->role_name()
2801
2802           Returns a Str value.
2803
2804           This attribute can be used for fetching the class's metaclass
2805           instance:
2806
2807               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
2808
2809   Moose::Exception::RolesDoNotSupportAugment
2810       This class has no attributes except for "message" and trace().
2811
2812   Moose::Exception::RolesDoNotSupportExtends
2813       This class has no attributes except for "message" and trace().
2814
2815   Moose::Exception::RolesDoNotSupportInner
2816       This class has no attributes except for "message" and trace().
2817
2818   Moose::Exception::RolesDoNotSupportRegexReferencesForMethodModifiers
2819       This class consumes the Moose::Exception::Role::Role role.
2820
2821       This class has the following methods:
2822
2823       •   $exception->modifier_type()
2824
2825           Returns a Str value.
2826
2827       •   $exception->role_name()
2828
2829           Returns a Str value.
2830
2831           This attribute can be used for fetching the class's metaclass
2832           instance:
2833
2834               my $metaclass_instance = Moose::Util::find_meta( $exception->role_name );
2835
2836   Moose::Exception::RolesInCreateTakesAnArrayRef
2837       This class consumes the Moose::Exception::Role::ParamsHash role.
2838
2839       This class has the following methods:
2840
2841       •   $exception->params()
2842
2843           Returns a HashRef value.
2844
2845   Moose::Exception::RolesListMustBeInstancesOfMooseMetaRole
2846       This class consumes the Moose::Exception::Role::ParamsHash role.
2847
2848       This class has the following methods:
2849
2850       •   $exception->class()
2851
2852           Returns a Str value.
2853
2854       •   $exception->params()
2855
2856           Returns a HashRef value.
2857
2858       •   $exception->role()
2859
2860   Moose::Exception::SingleParamsToNewMustBeHashRef
2861       This class has no attributes except for "message" and trace().
2862
2863   Moose::Exception::TriggerMustBeACodeRef
2864       This class consumes the Moose::Exception::Role::InvalidAttributeOptions
2865       and Moose::Exception::Role::ParamsHash roles.
2866
2867       This class has the following methods:
2868
2869       •   $exception->attribute_name()
2870
2871           Returns a Str value.
2872
2873       •   $exception->params()
2874
2875           Returns a HashRef value.
2876
2877   Moose::Exception::TypeConstraintCannotBeUsedForAParameterizableType
2878       This class consumes the Moose::Exception::Role::TypeConstraint role.
2879
2880       This class has the following methods:
2881
2882       •   $exception->parent_type_name()
2883
2884           Returns a Str value.
2885
2886           This attribute can be used for fetching type
2887           constraint(Moose::Meta::TypeConstraint):
2888
2889               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->parent_type_name );
2890
2891       •   $exception->type_name()
2892
2893           Returns a Str value.
2894
2895           This attribute can be used for fetching type
2896           constraint(Moose::Meta::TypeConstraint):
2897
2898               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
2899
2900   Moose::Exception::TypeConstraintIsAlreadyCreated
2901       This class consumes the Moose::Exception::Role::TypeConstraint role.
2902
2903       This class has the following methods:
2904
2905       •   $exception->package_defined_in()
2906
2907           Returns a Str value.
2908
2909       •   $exception->type_name()
2910
2911           Returns a Str value.
2912
2913           This attribute can be used for fetching type
2914           constraint(Moose::Meta::TypeConstraint):
2915
2916               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
2917
2918   Moose::Exception::TypeParameterMustBeMooseMetaType
2919       This class consumes the Moose::Exception::Role::TypeConstraint role.
2920
2921       This class has the following methods:
2922
2923       •   $exception->type_name()
2924
2925           Returns a Str value.
2926
2927           This attribute can be used for fetching type
2928           constraint(Moose::Meta::TypeConstraint):
2929
2930               my $type_constraint =  Moose::Util::TypeConstraints::find_type_constraint( $exception->type_name );
2931
2932   Moose::Exception::UnableToCanonicalizeHandles
2933       This class consumes the Moose::Exception::Role::Attribute role.
2934
2935       This class has the following methods:
2936
2937       •   $exception->attribute()
2938
2939           Returns a Class::MOP::Attribute object.
2940
2941       •   $exception->handles()
2942
2943   Moose::Exception::UnableToCanonicalizeNonRolePackage
2944       This class consumes the Moose::Exception::Role::Attribute role.
2945
2946       This class has the following methods:
2947
2948       •   $exception->attribute()
2949
2950           Returns a Class::MOP::Attribute object.
2951
2952       •   $exception->handles()
2953
2954           Returns a Str value.
2955
2956   Moose::Exception::UnableToRecognizeDelegateMetaclass
2957       This class consumes the Moose::Exception::Role::Attribute role.
2958
2959       This class has the following methods:
2960
2961       •   $exception->attribute()
2962
2963           Returns a Class::MOP::Attribute object.
2964
2965       •   $exception->delegate_metaclass()
2966
2967   Moose::Exception::UndefinedHashKeysPassedToMethod
2968       This class has the following methods:
2969
2970       •   $exception->hash_keys()
2971
2972           Returns an ArrayRef value.
2973
2974       •   $exception->method_name()
2975
2976           Returns a Str value.
2977
2978   Moose::Exception::UnionCalledWithAnArrayRefAndAdditionalArgs
2979       This class has the following methods:
2980
2981       •   $exception->args()
2982
2983           Returns an ArrayRef value.
2984
2985       •   $exception->array()
2986
2987           Returns an ArrayRef value.
2988
2989   Moose::Exception::UnionTakesAtleastTwoTypeNames
2990       This class has no attributes except for "message" and trace().
2991
2992   Moose::Exception::ValidationFailedForInlineTypeConstraint
2993       This class consumes the Moose::Exception::Role::Class role.
2994
2995       This class has the following methods:
2996
2997       •   $exception->attribute_name()
2998
2999           Returns a Str value.
3000
3001       •   $exception->class_name()
3002
3003           Returns a Str value.
3004
3005           This attribute can be used for fetching metaclass instance:
3006
3007               my $metaclass_instance = Moose::Util::find_meta( $exception->class_name );
3008
3009       •   $exception->new_member()
3010
3011           Returns a Bool value.
3012
3013       •   $exception->type_constraint_message()
3014
3015           Returns a Str value.
3016
3017       •   $exception->value()
3018
3019   Moose::Exception::ValidationFailedForTypeConstraint
3020       This class consumes the Moose::Exception::Role::Attribute role.
3021
3022       This class has the following methods:
3023
3024       •   $exception->attribute()
3025
3026           Returns a Class::MOP::Attribute object.
3027
3028       •   $exception->type()
3029
3030           Returns a Moose::Util::TypeConstraints value.
3031
3032       •   $exception->value()
3033
3034   Moose::Exception::WrapTakesACodeRefToBless
3035       This class consumes the Moose::Exception::Role::ParamsHash role.
3036
3037       This class has the following methods:
3038
3039       •   $exception->class()
3040
3041           Returns a Str value.
3042
3043       •   $exception->code()
3044
3045       •   $exception->params()
3046
3047           Returns a HashRef value.
3048
3049   Moose::Exception::WrongTypeConstraintGiven
3050       This class consumes the Moose::Exception::Role::ParamsHash role.
3051
3052       This class has the following methods:
3053
3054       •   $exception->attribute_name()
3055
3056           Returns a Str value.
3057
3058       •   $exception->given_type()
3059
3060           Returns a Str value.
3061
3062       •   $exception->params()
3063
3064           Returns a HashRef value.
3065
3066       •   $exception->required_type()
3067
3068           Returns a Str value.
3069

AUTHORS

3071       •   Stevan Little <stevan@cpan.org>
3072
3073       •   Dave Rolsky <autarch@urth.org>
3074
3075       •   Jesse Luehrs <doy@cpan.org>
3076
3077       •   Shawn M Moore <sartak@cpan.org>
3078
3079       •   יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>
3080
3081       •   Karen Etheridge <ether@cpan.org>
3082
3083       •   Florian Ragwitz <rafl@debian.org>
3084
3085       •   Hans Dieter Pearcey <hdp@cpan.org>
3086
3087       •   Chris Prather <chris@prather.org>
3088
3089       •   Matt S Trout <mstrout@cpan.org>
3090
3092       This software is copyright (c) 2006 by Infinity Interactive, Inc.
3093
3094       This is free software; you can redistribute it and/or modify it under
3095       the same terms as the Perl 5 programming language system itself.
3096
3097
3098
3099perl v5.36.0                      2023-02M-o0o6se::Manual::Exceptions::Manifest(3)
Impressum