Hi Etienne,
I've actually wrapped the *SOAP::WSDL::Client::call call in my Moose
classes to trap various errors with Try::Tiny. I've had to set
die_on_faults to true because I don't want to accidentally forget to trap
an error. I fall back to regex tests. My actual code winds up looking like
Hey David,
Do google faults need to be handled with the latest Perl modules or just
soap faults?
-Etienne
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
Hi Neil,
As you noticed the library dies at faults by default but you can override
this behavior by setting die_on_faults to 0, in which case the fault object
will be returned to you. So you can do something like:
my $page = $client-CampaignService()-get({serviceSelector = $selector});
if
Hi
I am trying to catch errors returned back from Adwords in my program, but
am unsure how to do it.
With an expired authentication tekon in the client, the lines:
$page = $adClient-CampaignService()-get({
serviceSelector = $selector,
});
which output:
Error deserializing message: A fault was