ePages 7.1.0 - DE_EPAGES/UPS/API/UPSError.pm

Package DE_EPAGES::UPS::API::UPSError

to prevent Codecopy this class do the ErrorHandling for the UPS Service

Example
my $UPSError = DE_EPAGES::UPS::API::UPSError->new()
$object->FormErrorAndLogging($Servlet,$Error)
@EXPORT_OK
FormErrorAndLogging

Functions

FormErrorAndLogging

FormErrorAndLogging

This Function encapsulate the errror handling ecxept the NativeDie. The error is added to the FormError. The UPS SOAP Response Errors are treated specially.

Syntax
FormErrorAndLogging( $Servlet,$Error );
Input
$FormName (string)
name of form
$Servlet (object)
servlet
$Error (object)
the current Error object