Exception: SalesforceApi::Errors::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- SalesforceApi::Errors::ApiError
- Defined in:
- lib/salesforceapi-rest/errors.rb
Direct Known Subclasses
AuthenticationError, EntityError, MethodError, PlatformError, RequestError, RequestRefusedError, ResourceNotFoundError, RuntimeError
Instance Attribute Summary collapse
-
#http_code ⇒ Object
Returns the value of attribute http_code.
Instance Method Summary collapse
-
#initialize(message, http_code) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(message, http_code) ⇒ ApiError
Returns a new instance of ApiError.
8 9 10 11 |
# File 'lib/salesforceapi-rest/errors.rb', line 8 def initialize(, http_code) super @http_code = http_code end |
Instance Attribute Details
#http_code ⇒ Object
Returns the value of attribute http_code.
6 7 8 |
# File 'lib/salesforceapi-rest/errors.rb', line 6 def http_code @http_code end |