XMLRPC error handling?

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


If you’re getting a Errno::ECONNREFUSED error, then you have to rescue
for that.

rescue Errno::ECONNREFUSED