Sha256: 17a23d9748f9e32b23d5c383baf15acfed264d8b97ef3471caf5d9b40532d2ad
Contents?: true
Size: 473 Bytes
Versions: 18
Compression:
Stored size: 473 Bytes
Contents
package Moose::Exception::InstanceBlessedIntoWrongClass; our $VERSION = '2.2203'; 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
18 entries across 9 versions & 1 rubygems