« blib/lib/Moose/Exception/MustDefineAnOverloadOperator.pm
↑ Summary
blib/lib/Moose/Exception/NeitherRoleNorRoleNameIsGiven.pm »
| 1 | package Moose::Exception::NeitherClassNorClassNameIsGiven; | ||
| 2 | our $VERSION = '2.4001'; | ||
| 3 | |||
| 4 | use Moose; | ||
| 5 | extends 'Moose::Exception'; | ||
| 6 | |||
| 7 | sub _build_message { | ||
| 8 | "You need to give class or class_name or both"; | ||
| 9 | } | ||
| 10 | |||
| 11 | __PACKAGE__->meta->make_immutable; | ||
| 12 | 1; |