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 \s-1MTA\s0. See Error for detailed instructions on how to use it.
For \s-1AVAILABILITY\s0, \s-1SUPPORT\s0, and \s-1LICENSE\s0 information, see Courier::Filter::Overview.
Julian Mehnle <[email protected]>