Exception: SshTresor::KeyNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/ssh_tresor/error.rb

Constant Summary

Constants inherited from Error

Error::EXIT_AGENT_CONNECTION_FAILED, Error::EXIT_DECRYPTION_FAILED, Error::EXIT_GENERAL_ERROR, Error::EXIT_KEY_NOT_FOUND

Instance Attribute Summary

Attributes inherited from Error

#exit_code

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ KeyNotFound

Returns a new instance of KeyNotFound.



25
26
27
# File 'lib/ssh_tresor/error.rb', line 25

def initialize(message)
  super(message, exit_code: EXIT_KEY_NOT_FOUND)
end