Sha256: 81868d6ec9593d855fd0a12594e17eaf6736f4b46398a0d40ada1cfffa08258c
Contents?: true
Size: 342 Bytes
Versions: 33
Compression:
Stored size: 342 Bytes
Contents
package Moose::Exception::CanExtendOnlyClasses; our $VERSION = '2.2207'; 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
33 entries across 21 versions & 1 rubygems