Forum: Ruby on Rails XMLRPC error handling?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Af656cca6a3806277fe19a0c606ddab7?d=identicon&s=25 Zac Elston (zaq)
on 2007-02-26 22:26

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?


this doesn't seem to cut it...
rescue XMLRPC::FaultException => e
  puts "Error:"
  puts e.faultCode
  puts e.faultString

34f26dde337f0a0d2d380e11117e82f6?d=identicon&s=25 Vishnu Gopal (Guest)
on 2007-02-27 07:11
(Received via mailing list)
If you're getting a Errno::ECONNREFUSED error, then you have to rescue
for that.

rescue Errno::ECONNREFUSED

This topic is locked and can not be replied to.