diff options
Diffstat (limited to 'lib/Moose/Exception/Role/Attribute.pm')
-rw-r--r-- | lib/Moose/Exception/Role/Attribute.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Moose/Exception/Role/Attribute.pm b/lib/Moose/Exception/Role/Attribute.pm new file mode 100644 index 0000000..02d0c5d --- /dev/null +++ b/lib/Moose/Exception/Role/Attribute.pm @@ -0,0 +1,12 @@ +package Moose::Exception::Role::Attribute; +our $VERSION = '2.1405'; + +use Moose::Role; + +has 'attribute' => ( + is => 'ro', + isa => 'Class::MOP::Attribute', + predicate => 'is_attribute_set' +); + +1; |