package Moose::Exception::MustPassEvenNumberOfAttributeOptions;
our $VERSION = '2.4000';

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;
