If you''re getting a Errno::ECONNREFUSED error, then you have to rescue
for that.
rescue Errno::ECONNREFUSED
[..]
Vish
On 2/27/07, Zac Elston
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
>
>
> I''m looking for docs on how to manage errors in XMLRPC
>
> i get Errno::ECONNREFUSED in my query
>
> which is cool because the host isn''t running the XMLRPC server.
but
> where are the code examples to manage things like that?
>
> thanks
>
> this doesn''t seem to cut it...
> rescue XMLRPC::FaultException => e
> puts "Error:"
> puts e.faultCode
> puts e.faultString
>
>
>
> -zaq
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---