« blib/lib/Moose/Exception/NeitherAttributeNorAttributeNameIsGiven.pm
↑ Summary
blib/lib/Moose/Exception/NoBodyToInitializeInAnAbstractBaseClass.pm »
| 1 | package Moose::Exception::NoAttributeFoundInSuperClass; | ||
| 2 | 3 | our $VERSION = '2.4001'; | |
| 3 | |||
| 4 | 3 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 3 | extends 'Moose::Exception'; | |
| 6 | 3 | with 'Moose::Exception::Role::Class', 'Moose::Exception::Role::InvalidAttributeOptions'; | |
| 7 | |||
| 8 | 4 | ▶ | sub _build_message { |
|
Subroutine
_build_message: called CC=1 SCAR=0.0
| |||
| 9 | 4 | my $self = shift; | |
| 10 | 4 | "Could not find an attribute by the name of '".$self->attribute_name."' to inherit from in ".$self->class_name; | |
| 11 | } | ||
| 12 | |||
| 13 | 3 | __PACKAGE__->meta->make_immutable; | |
| 14 | 3 | 1; | |