Exception: SalesforceApi::Errors::RequestError

Inherits:
ApiError
  • Object
show all
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

#http_code

Instance Method Summary collapse

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(message, http_code)
  super(message, http_code)
end