1package Moose::Exception::MethodExpectedAMetaclassObject; 2our $VERSION = '2.2201'; 3 4use Moose; 5extends 'Moose::Exception'; 6 7has 'class' => ( 8 is => 'ro', 9 isa => 'Str', 10 required => 1 11); 12 13has 'metaclass' => ( 14 is => 'ro', 15 isa => 'Any', 16 required => 1 17); 18 19sub _build_message { 20 "The is_needed method expected a metaclass object as its arugment"; 21} 22 23__PACKAGE__->meta->make_immutable; 241; 25