The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Parse::JCONF::Error - errors representation for Parse::JCONF

SYNOPSIS

    use Parse::JCONF;
    
    eval {
        my $res = Parse::JCONF->new(autodie => 1)->parse("{}");
    };
    if (my $e = $@) {
        if (ref $e && $e->isa('Parse::JCONF::Error')) {
            warn "JCONF parser error: $e";
        }
    }

ERROR CLASSES

Parse::JCONF::Error

This is base error class.

Methods

Parse::JCONF::Error->new($msg)

Creates new error with message $msg

$error->throw()

Throws error

Parse::JCONF::Error::IO

Inherited from Parse::JCONF::Error. Represents I/O errors

Parse::JCONF::Error::Parser

Inherited from Parse::JCONF::Error. Represents parser errors

SEE ALSO

Parse::JCONF

COPYRIGHT

Copyright Oleg G <oleg@cpan.org>.

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