NAME
Moose::Error::Croak - Prefer croak
SYNOPSIS
use metaclass => (
metaclass => "Moose::Meta::Class",
error_class => "Moose::Error::Croak",
);
DESCRIPTION
This error class uses "croak" in Carp to raise errors generated in your metaclass.
METHODS
- new
-
Overrides "new" in Moose::Error::Default to prefer
croak
.