« blib/lib/Moose/Exception/CannotDelegateWithoutIsa.pm
↑ Summary
blib/lib/Moose/Exception/CannotFindType.pm »
| 1 | package Moose::Exception::CannotFindDelegateMetaclass; | ||
| 2 | 2 | our $VERSION = '2.4001'; | |
| 3 | |||
| 4 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | extends 'Moose::Exception'; | |
| 6 | 2 | with 'Moose::Exception::Role::Attribute'; | |
| 7 | |||
| 8 | 4 | ▶ | sub _build_message { |
|
Subroutine
_build_message: called CC=1 SCAR=0.0
| |||
| 9 | 4 | my $self = shift; | |
| 10 | 4 | "Cannot find delegate metaclass for attribute ".$self->attribute->name; | |
| 11 | } | ||
| 12 | |||
| 13 | 2 | __PACKAGE__->meta->make_immutable; | |
| 14 | 2 | 1; | |