1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

make error messages much friendlier if a XMLRPC::FaultException is thrown,

by aliasing message to faultString.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mneumann 2005-04-06 12:36:47 +00:00
parent 69bed7f7cf
commit f1587ee5a0

View file

@ -54,6 +54,8 @@ module XMLRPC
class FaultException < StandardError
attr_reader :faultCode, :faultString
alias message faultString
def initialize(faultCode, faultString)
@faultCode = faultCode
@faultString = faultString