Sha256: d693b2e7c7ecd927bba880a9de1dbf4ce49b2b90a6507617fb2dd9693cd4d4e1
Contents?: true
Size: 441 Bytes
Versions: 36
Compression:
Stored size: 441 Bytes
Contents
package Moose::Exception::MustPassEvenNumberOfAttributeOptions; our $VERSION = '2.2207'; use Moose; extends 'Moose::Exception'; has 'options' => ( is => 'ro', isa => 'ArrayRef', required => 1 ); has 'attribute_name' => ( is => 'ro', isa => 'Str', required => 1, ); sub _build_message { return 'You must pass an even number of attribute options'; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
36 entries across 24 versions & 1 rubygems