NAME

Moose::Error::Confess - Prefer confess

VERSION

version 1.9906

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.

AUTHOR

Stevan Little <stevan@iinteractive.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Infinity Interactive, Inc..

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.