Sha256: 8064ea15b9e1b79361ec884bd30e5ee40b80438d1fa54fad0fdf84f0550a702f
Contents?: true
Size: 342 Bytes
Versions: 14
Compression:
Stored size: 342 Bytes
Contents
package Moose::Exception::CanExtendOnlyClasses; our $VERSION = '2.2206'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::Role'; sub _build_message { my $self = shift; my $role_name = $self->role_name; return "You cannot inherit from a Moose Role ($role_name)"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
14 entries across 7 versions & 1 rubygems