Sha256: 6e2b93bbfd9717f1fefed56f9c91906087c578deacbbc3c1e36b7f62b92eb692
Contents?: true
Size: 473 Bytes
Versions: 33
Compression:
Stored size: 473 Bytes
Contents
package Moose::Exception::InstanceBlessedIntoWrongClass; our $VERSION = '2.2207'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::ParamsHash', 'Moose::Exception::Role::Class', 'Moose::Exception::Role::Instance'; sub _build_message { my $self = shift; "Objects passed as the __INSTANCE__ parameter must already be blessed into the correct class, but ".$self->instance." is not a " . $self->class_name; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
33 entries across 21 versions & 1 rubygems