Sha256: 87a7fe665f1c9a205d2cbb8638423bccc7132429b85fec7051b360c9e977d885
Contents?: true
Size: 515 Bytes
Versions: 18
Compression:
Stored size: 515 Bytes
Contents
package Moose::Exception::MatchActionMustBeACodeRef; our $VERSION = '2.2203'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::TypeConstraint'; has 'to_match' => ( is => 'ro', isa => 'Any', required => 1, ); has 'action' => ( is => 'ro', isa => 'Any', required => 1 ); sub _build_message { my $self = shift; my $action = $self->action; return "Match action must be a CODE ref, not $action"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
18 entries across 9 versions & 1 rubygems