Sha256: e271854d393e98fef27e68c23fee948cce06eac14543673089a4114cd566364f
Contents?: true
Size: 510 Bytes
Versions: 18
Compression:
Stored size: 510 Bytes
Contents
package Moose::Exception::AttributeNamesDoNotMatch; our $VERSION = '2.2203'; use Moose; extends 'Moose::Exception'; has attribute_name => ( is => 'ro', isa => 'Str', required => 1, ); has attribute => ( is => 'ro', isa => 'Class::MOP::Attribute', required => 1, ); sub _build_message { my $self = shift; "attribute_name (".$self-> attribute_name.") does not match attribute->name (".$self->attribute->name.")"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
18 entries across 9 versions & 1 rubygems