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?

thanks

this doesn’t seem to cut it…
rescue XMLRPC::FaultException => e
puts “Error:”
puts e.faultCode
puts e.faultString

-zaq

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

rescue Errno::ECONNREFUSED
[…]

Vish

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs