Courier::Error - A Perl exception class for Perl modules related to the Courier MTA


NAME

Courier::Error - A Perl exception class for Perl modules related to the Courier MTA

Back to Top


VERSION

0.17

Back to Top


SYNOPSIS

Exception handling

    use Error qw(:try);
    use Courier::Error;
    
    try {
        ...
        throw Courier::Error($error_message) if $error_condition;
        ...
    }
    catch Courier::Error with {
        ...
    };
    # See "Error" for more exception handling syntax.

Deriving new exception classes

    package Courier::Error::My;
    use base qw(Courier::Error);

Back to Top


DESCRIPTION

This class is a simple exception class for Perl modules related to the Courier MTA. See the Error manpage for detailed instructions on how to use it.

Back to Top


SEE ALSO

For AVAILABILITY, SUPPORT, and LICENSE information, see the Courier::Filter::Overview manpage.

Back to Top


AUTHOR

Julian Mehnle <julian@mehnle.net>

Back to Top

 Courier::Error - A Perl exception class for Perl modules related to the Courier MTA