Sha256: 08c67dab52404815aeb5dd17cc413a1fe0f2cc768366d7c22234bd4475b33065
Contents?: true
Size: 412 Bytes
Versions: 36
Compression:
Stored size: 412 Bytes
Contents
package Moose::Exception::CannotAddAsAnAttributeToARole; our $VERSION = '2.2207'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::Role'; has 'attribute_class' => ( is => 'ro', isa => 'Str', required => 1, ); sub _build_message { my $self = shift; "Cannot add a ".$self->attribute_class." as an attribute to a role"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
36 entries across 24 versions & 1 rubygems