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