Sha256: 882426ce651a376c4de1802f4d776f01428b868c63353765ae7f5e8e7ac73033
Contents?: true
Size: 509 Bytes
Versions: 18
Compression:
Stored size: 509 Bytes
Contents
package Moose::Exception::RolesListMustBeInstancesOfMooseMetaRole; our $VERSION = '2.2203'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::ParamsHash'; has 'class' => ( is => 'ro', isa => 'Str', required => 1 ); has 'role' => ( is => 'ro', isa => 'Any', required => 1 ); sub _build_message { my $self = shift; "The list of roles must be instances of Moose::Meta::Role, not ".$self->role; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
18 entries across 9 versions & 1 rubygems