Exception: Salesforce::Rest::AsfRestError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/Salesforce/rest/asf_rest_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, fault = nil) ⇒ AsfRestError

Returns a new instance of AsfRestError.



25
26
27
28
# File 'lib/Salesforce/rest/asf_rest_error.rb', line 25

def initialize(message, fault = nil)
  super message
  @fault = fault
end

Instance Attribute Details

#faultObject (readonly)

Returns the value of attribute fault.



23
24
25
# File 'lib/Salesforce/rest/asf_rest_error.rb', line 23

def fault
  @fault
end