Exception: PetstoreApiClient::ConnectionError
- Defined in:
- lib/petstore_api_client/errors.rb
Overview
Network/connection issues
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Failed to connect to the API") ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(message = "Failed to connect to the API") ⇒ ConnectionError
Returns a new instance of ConnectionError.
53 54 55 |
# File 'lib/petstore_api_client/errors.rb', line 53 def initialize( = "Failed to connect to the API") super(, status_code: nil, error_type: "Connection") end |