package Moose::Exception::MustPassAHashOfOptions;
our $VERSION = '2.2015';

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

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

sub _build_message {
    "You must pass a hash of options";
}

__PACKAGE__->meta->make_immutable;
1;
