Sha256: fce3cc37ec1eebd94636c94a600db9d7865b4c7c74fed8681e9f7efbcca3473b
Contents?: true
Size: 637 Bytes
Versions: 14
Compression:
Stored size: 637 Bytes
Contents
package Moose::Exception::CircularReferenceInAlso; our $VERSION = '2.2206'; use Moose; extends 'Moose::Exception'; has 'also_parameter' => ( is => 'ro', isa => 'Str', required => 1 ); has 'stack' => ( is => 'ro', isa => 'ArrayRef', required => 1 ); sub _build_message { my $self = shift; my $also_member = $self->also_parameter; my @stack = @{$self->stack}; my $existing_stack = join( ', ', @stack); return "Circular reference in 'also' parameter to Moose::Exporter between " ."$existing_stack and $also_member"; } __PACKAGE__->meta->make_immutable; 1;
Version data entries
14 entries across 7 versions & 1 rubygems