Sha256: 85f93685343616bfc627b2e79047716e6a1f376d9ce2ede09eb361fff6d52eb8
Contents?: true
Size: 451 Bytes
Versions: 33
Compression:
Stored size: 451 Bytes
Contents
package Moose::Exception::OnlyInstancesCanBeCloned; our $VERSION = '2.2207'; 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
33 entries across 21 versions & 1 rubygems