1package Moose::Exception::RequiredAttributeLacksInitialization; 2our $VERSION = '2.2201'; 3 4use Moose; 5extends 'Moose::Exception'; 6with 'Moose::Exception::Role::ParamsHash'; 7 8has 'class' => ( 9 is => 'ro', 10 isa => 'Str', 11 required => 1 12); 13 14sub _build_message { 15 "A required attribute must have either 'init_arg', 'builder', or 'default'"; 16} 17 18__PACKAGE__->meta->make_immutable; 191; 20