Exception: Kitsune::Kit::Errors::ConnectionError

Inherits:
Error
  • Object
show all
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

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(message, hint: DEFAULT_HINT, **)
  super(message, code: "connection_error", hint: hint, **)
end