« blib/lib/Moose/Exception/InvalidOverloadOperator.pm
↑ Summary
blib/lib/Moose/Exception/NeitherClassNorClassNameIsGiven.pm »
| 1 | package Moose::Exception::MustDefineAnOverloadOperator; | ||
| 2 | our $VERSION = '2.4001'; | ||
| 3 | |||
| 4 | use Moose; | ||
| 5 | extends 'Moose::Exception'; | ||
| 6 | with 'Moose::Exception::Role::Instance'; | ||
| 7 | |||
| 8 | sub _build_message { | ||
| 9 | "You must define an overload operator"; | ||
| 10 | } | ||
| 11 | |||
| 12 | __PACKAGE__->meta->make_immutable; | ||
| 13 | 1; |