DOKK / manpages / debian 10 / courier-filter-perl / Courier::Error.3pm.en
Courier::Error(3pm) User Contributed Perl Documentation Courier::Error(3pm)

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

    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.

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

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

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

Julian Mehnle <julian@mehnle.net>

2015-11-28 perl v5.20.2