NAME
Moose::Error::Croak - Prefer croak
VERSION
version 2.1100
SYNOPSIS
# Metaclass definition must come before Moose is used.
use metaclass (
metaclass => 'Moose::Meta::Class',
error_class => 'Moose::Error::Croak',
);
use Moose;
# ...
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
.
AUTHORS
Stevan Little <stevan.little@iinteractive.com>
Dave Rolsky <autarch@urth.org>
Jesse Luehrs <doy@tozt.net>
Shawn M Moore <code@sartak.org>
Yuval Kogman <nothingmuch@woobling.org>
Karen Etheridge <ether@cpan.org>
Florian Ragwitz <rafl@debian.org>
Hans Dieter Pearcey <hdp@weftsoar.net>
Chris Prather <chris@prather.org>
Matt S Trout <mst@shadowcat.co.uk>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 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.