Skip Menu |

This queue is for tickets about the Net-UPS CPAN distribution.

Report information
The Basics
Id: 22894
Status: resolved
Priority: 0/
Queue: Net-UPS

People
Owner: Nobody in particular
Requestors: justin [...] lolofie.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.04



Subject: more error handling in request_rate()
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' } }
Subject: RE: [rt.cpan.org #22894] more error handling in request_rate()
Date: Fri, 10 Nov 2006 07:25:15 -0500
To: <bug-Net-UPS [...] rt.cpan.org>, <undisclosed-recipients:>
From: "Sherzod Ruzmetov" <sherzodr [...] handalak.com>
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' > } > } > >
it's now passed, not very nicely, via "set_error"