Exception: AppStoreServerApi::Error::ServerError

Inherits:
AppStoreServerApi::Error show all
Defined in:
lib/app_store_server_api/error.rb

Constant Summary

Constants inherited from AppStoreServerApi::Error

ERROR_CODE_MAP

Instance Attribute Summary

Attributes inherited from AppStoreServerApi::Error

#code, #response

Instance Method Summary collapse

Methods inherited from AppStoreServerApi::Error

handle_error, #inspect, #to_h

Constructor Details

#initialize(code: 5000000, message: 'Internal Server Error', response:) ⇒ ServerError

Returns a new instance of ServerError.



41
42
43
# File 'lib/app_store_server_api/error.rb', line 41

def initialize(code: 5000000, message: 'Internal Server Error', response:)
  super(code: code, message: message, response: response)
end