Exception: Kitsune::Kit::Errors::ConnectionError
- Defined in:
- lib/kitsune/kit/errors.rb
Constant Summary collapse
- DEFAULT_HINT =
"Verify the server address, SSH key, host fingerprint and firewall route."
Instance Attribute Summary
Attributes inherited from Error
#code, #context, #hint, #retryable
Instance Method Summary collapse
-
#initialize(message, hint: DEFAULT_HINT) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
Constructor Details
#initialize(message, hint: DEFAULT_HINT) ⇒ ConnectionError
Returns a new instance of ConnectionError.
45 46 47 |
# File 'lib/kitsune/kit/errors.rb', line 45 def initialize(, hint: DEFAULT_HINT, **) super(, code: "connection_error", hint: hint, **) end |