<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">package Moose::Exception::MustPassEvenNumberOfArguments;
our $VERSION = '2.2011';

use Moose;
extends 'Moose::Exception';

has 'args' =&gt; (
    is         =&gt; 'ro',
    isa        =&gt; 'ArrayRef',
    required   =&gt; 1
);

has 'method_name' =&gt; (
    is         =&gt; 'ro',
    isa        =&gt; 'Str',
    required   =&gt; 1
);

sub _build_message {
    my $self = shift;
    "You must pass an even number of arguments to ".$self-&gt;method_name;
}

__PACKAGE__-&gt;meta-&gt;make_immutable;
1;
</pre></body></html>