As far as I know, you are not the only one using it. At least I am using it :)
Thanks for the suggestion. I'll do that in the next release.
Sherzod
Show quoted text> -----Original Message-----
> From: Justin Lolofie via RT [mailto:bug-Net-UPS@rt.cpan.org]
> Sent: Wednesday, November 08, 2006 12:47 AM
> To: undisclosed-recipients:
> Subject: [rt.cpan.org #22894] more error handling in request_rate()
>
>
>
> Wed Nov 08 00:47:03 2006: Request 22894 was acted upon.
> Transaction: Ticket created by JLOLOFIE
> Queue: Net-UPS
> Subject: more error handling in request_rate()
> Broken in: (no value)
> Severity: Wishlist
> Owner: Nobody
> Requestors: JLOLOFIE@cpan.org
> Status: new
> Ticket <URL:
http://rt.cpan.org/Ticket/Display.html?id=22894 >
>
>
>
> When UPS returns an error in request_rate(), the error should
> be passed
> upstream.
>
> Are other people using this module? Should I add to it? :>
>
> {
> 'Response' => {
> 'Error' => {
> 'ErrorDescription' => 'This measurement system is not valid for the
> selected country.',
> 'ErrorCode' => '111057',
> 'ErrorSeverity' => 'Hard'
> },
> 'ResponseStatusDescription' => 'Failure',
> 'ResponseStatusCode' => '0',
> 'TransactionReference' => {
> 'XpciVersion' => '1.0001',
> 'CustomerContext' => 'Net::UPS'
> }
> }
>
>