Florian Ragwitz > Moose-2.0204 > Moose::Error::Croak

Download:
Moose-2.0204.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  10
Open  41
Stalled  8
View/Report Bugs
Module Version: 2.0204   Source   Latest Release: Moose-2.0604

NAME ^

Moose::Error::Croak - Prefer croak

VERSION ^

version 2.0204

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.

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.

syntax highlighting: