summaryrefslogtreecommitdiff
path: root/lib/Moose/Exception/MustSupplyAnAttributeToConstructWith.pm
blob: c43b1a7d6e67722006ceab498a60a64a1b96c1da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package Moose::Exception::MustSupplyAnAttributeToConstructWith;
our $VERSION = '2.1405';

use Moose;
extends 'Moose::Exception';
with 'Moose::Exception::Role::ParamsHash';

has 'class' => (
    is       => 'ro',
    isa      => 'Str',
    required => 1
);

sub _build_message {
    "You must supply an attribute to construct with";
}

1;