Raised when the remote procedure returns a fault-structure, which has two accessor-methods faultCode an Integer, and faultString a String.

Methods
N
T
Attributes
[R] faultCode
[R] faultString
Class Public methods
new(faultCode, faultString)

Creates a new XMLRPC::FaultException instance.

faultString is passed to StandardError as the msg of the Exception.

# File lib/xmlrpc/parser.rb, line 58
def initialize(faultCode, faultString)
  @faultCode   = faultCode
  @faultString = faultString
  super(@faultString)
end
Instance Public methods
to_h()

The faultCode and faultString of the exception in a Hash.

# File lib/xmlrpc/parser.rb, line 65
def to_h
  {"faultCode" => @faultCode, "faultString" => @faultString}
end