Exception: PCPServerSDK::Errors::ApiResponseRetrievalException

Inherits:
ApiException
  • Object
show all
Defined in:
lib/PCP-server-Ruby-SDK/errors/api_response_retrieval_exception.rb

Instance Attribute Summary

Attributes inherited from ApiException

#response_body, #status_code

Instance Method Summary collapse

Methods inherited from ApiException

#message, #to_s

Constructor Details

#initialize(status_code, response_body, cause = nil) ⇒ ApiResponseRetrievalException

The constructor

Parameters:

  • status_code (Integer)
  • response_body (String)
  • cause (StandardError) (defaults to: nil)


10
11
12
# File 'lib/PCP-server-Ruby-SDK/errors/api_response_retrieval_exception.rb', line 10

def initialize(status_code, response_body, cause = nil)
  super(status_code, response_body, cause)
end