Nicolas Steenlant > Catmandu-0.2002 > Catmandu::Error

Download:
Catmandu-0.2002.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source   Latest Release: Catmandu-0.8014

NAME ^

Catmandu::Error - Catmandu error hierarchy

SYNOPSIS ^

    use Catmandu::Sane;

    sub be_naughty {
        Catmandu::BadArg->throw("very naughty") if shift;
    }

    try {
        be_naughty(1);
    } catch_case [
        'Catmandu::BadArg' => sub {
            say "sorry";
        }
    ];

CURRRENT ERROR HIERARCHY Throwable::Error Catmandu::Error Catmandu::BadVal Catmandu::BadArg Catmandu::NotImplemented ^

SEE ALSO ^

Throwable

syntax highlighting: