1package Moose::Exception::CannotFindTypeGivenToMatchOnType;
2our $VERSION = '2.2201';
3
4use Moose;
5extends 'Moose::Exception';
6
7has 'to_match' => (
8    is       => 'ro',
9    isa      => 'Any',
10    required => 1
11);
12
13has 'action' => (
14    is       => 'ro',
15    isa      => 'Any',
16    required => 1
17);
18
19has 'type' => (
20    is       => 'ro',
21    isa      => 'Any',
22    required => 1
23);
24
25sub _build_message {
26    my $self = shift;
27    my $type = $self->type;
28
29    return "Cannot find or parse the type '$type'"
30}
31
32__PACKAGE__->meta->make_immutable;
331;
34