Sha256: 1854fb6d1b928904651b5d674fde0246f572df2d15fe9d1709098456317ea1a6
Contents?: true
Size: 631 Bytes
Versions: 18
Compression:
Stored size: 631 Bytes
Contents
package Moose::Exception::InvalidArgumentsToTraitAliases; our $VERSION = '2.2203'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::Class'; use Scalar::Util qw(reftype); has 'alias' => ( is => 'ro', isa => 'Any', required => 1 ); has 'package_name' => ( is => 'ro', isa => 'Str', required => 1 ); sub _build_message { my $self = shift; my $alias = $self->alias; my $reftype_alias = reftype($alias); return "$reftype_alias references are not " . "valid arguments to the 'trait_aliases' option"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
18 entries across 9 versions & 1 rubygems