Exception: AppStoreServerApi::Error::InvalidResponseError
- Inherits:
-
AppStoreServerApi::Error
- Object
- StandardError
- AppStoreServerApi::Error
- AppStoreServerApi::Error::InvalidResponseError
- Defined in:
- lib/app_store_server_api/error.rb
Overview
error response body is invalid must have errorCode and errorMessage. valid example response body:
{
"errorCode": 4000006,
"errorMessage": "Invalid transaction id."
}
Constant Summary
Constants inherited from AppStoreServerApi::Error
Instance Attribute Summary
Attributes inherited from AppStoreServerApi::Error
Instance Method Summary collapse
-
#initialize(code: 5000002, message: 'response body is invalid', response:) ⇒ InvalidResponseError
constructor
A new instance of InvalidResponseError.
Methods inherited from AppStoreServerApi::Error
Constructor Details
#initialize(code: 5000002, message: 'response body is invalid', response:) ⇒ InvalidResponseError
Returns a new instance of InvalidResponseError.
54 55 56 |
# File 'lib/app_store_server_api/error.rb', line 54 def initialize(code: 5000002, message: 'response body is invalid', response:) super(code: code, message: , response: response) end |