Exception: RunApi::Core::NetworkError

Inherits:
Error
  • Object
show all
Defined in:
lib/runapi/core/errors.rb

Overview

Raised when network connection fails or request cannot be sent.

Constant Summary

Constants inherited from Error

Error::DEFAULT_MESSAGES, Error::STATUS_MAP

Instance Attribute Summary

Attributes inherited from Error

#details, #request_id, #status

Instance Method Summary collapse

Methods inherited from Error

from_response, #to_h

Constructor Details

#initialize(message = "Network error", **kwargs) ⇒ NetworkError

Returns a new instance of NetworkError.



206
207
208
# File 'lib/runapi/core/errors.rb', line 206

def initialize(message = "Network error", **kwargs)
  super
end