Sha256: 2c538b08a42197ba3cdb0cc4ecb7ff018ae44f3cee116616e000e32398a174d1
Contents?: true
Size: 451 Bytes
Versions: 14
Compression:
Stored size: 451 Bytes
Contents
package Moose::Exception::OnlyInstancesCanBeCloned; our $VERSION = '2.2206'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::Class', 'Moose::Exception::Role::ParamsHash'; has 'instance' => ( is => 'ro', isa => 'Any', required => 1, ); sub _build_message { my $self = shift; "You can only clone instances, (".$self->instance.") is not a blessed instance"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
14 entries across 7 versions & 1 rubygems