Moose::Error::Confess(3p)

NAME
Moose::Error::Confess - Prefer "confess"

SYNOPSIS
    # Metaclass definition must come before Moose is used.
    use metaclass (
        metaclass => 'Moose::Meta::Class',
        error_class => 'Moose::Error::Confess',
    );
    use Moose;
    # ...

DESCRIPTION
This error class uses "confess" in Carp to raise errors generated in your metaclass.