1package Moose::Exception::CannotUseLazyBuildAndDefaultSimultaneously; 2our $VERSION = '2.2201'; 3 4use Moose; 5extends 'Moose::Exception'; 6with 'Moose::Exception::Role::InvalidAttributeOptions'; 7 8sub _build_message { 9 my $self = shift; 10 "You can not use lazy_build and default for the same attribute (".$self->attribute_name.")"; 11} 12 13__PACKAGE__->meta->make_immutable; 141; 15