Sha256: 59ddcec6cac51e1eef65ebd149267accd7f1ce26363d32e7ba246df087aebe51
Contents?: true
Size: 767 Bytes
Versions: 33
Compression:
Stored size: 767 Bytes
Contents
package Moose::Exception::CannotLocatePackageInINC; our $VERSION = '2.2207'; use Moose; extends 'Moose::Exception'; with 'Moose::Exception::Role::ParamsHash'; has 'INC' => ( is => 'ro', isa => 'ArrayRef', required => 1 ); has 'possible_packages' => ( is => 'ro', isa => 'Str', required => 1 ); has 'metaclass_name' => ( is => 'ro', isa => 'Str', required => 1 ); has 'type' => ( is => 'ro', isa => 'Str', required => 1, ); sub _build_message { my $self = shift; my $possible_packages = $self->possible_packages; my @inc = @{$self->INC}; return "Can't locate $possible_packages in \@INC (\@INC contains: @INC)." } __PACKAGE__->meta->make_immutable; 1;
Version data entries
33 entries across 21 versions & 1 rubygems