Exception: Viewpoint::EWS::Errors::SoapResponseError

Inherits:
ResponseError
  • Object
show all
Defined in:
lib/ews/errors.rb

Instance Attribute Summary collapse

Attributes inherited from ResponseError

#response

Instance Method Summary collapse

Methods inherited from ResponseError

#body, #status

Constructor Details

#initialize(message, response, faultcode, faultstring) ⇒ SoapResponseError

Returns a new instance of SoapResponseError.



50
51
52
53
54
# File 'lib/ews/errors.rb', line 50

def initialize(message, response, faultcode, faultstring)
  super(message, response)
  @faultcode = faultcode
  @faultstring = faultstring
end

Instance Attribute Details

#faultcodeObject (readonly)

Returns the value of attribute faultcode.



47
48
49
# File 'lib/ews/errors.rb', line 47

def faultcode
  @faultcode
end

#faultstringObject (readonly)

Returns the value of attribute faultstring.



47
48
49
# File 'lib/ews/errors.rb', line 47

def faultstring
  @faultstring
end