Exception: Salesforce::Rest::AsfRestError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Salesforce::Rest::AsfRestError
- Defined in:
- lib/Salesforce/rest/asf_rest_error.rb
Direct Known Subclasses
AsfAuthenticationError, AsfEntityError, AsfMethodError, AsfPlatformrror, AsfRequestError, AsfRequestRefusedError, AsfResourceNotFoundError, AsfRuntimeError
Instance Attribute Summary collapse
-
#fault ⇒ Object
readonly
Returns the value of attribute fault.
Instance Method Summary collapse
-
#initialize(message, fault = nil) ⇒ AsfRestError
constructor
A new instance of AsfRestError.
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(, fault = nil) super @fault = fault end |
Instance Attribute Details
#fault ⇒ Object (readonly)
Returns the value of attribute fault.
23 24 25 |
# File 'lib/Salesforce/rest/asf_rest_error.rb', line 23 def fault @fault end |