Exception: SalesforceApi::Errors::RequestError
- Defined in:
- lib/salesforceapi-rest/errors.rb
Overview
Error for HTTP code 400, Request cannot be understood, because the JSON or XML body has an error
Instance Attribute Summary
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(message, http_code) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(message, http_code) ⇒ RequestError
Returns a new instance of RequestError.
30 31 32 |
# File 'lib/salesforceapi-rest/errors.rb', line 30 def initialize(, http_code) super(, http_code) end |