Exception: SshTresor::NoMatchingSlot
- 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
Instance Method Summary collapse
-
#initialize ⇒ NoMatchingSlot
constructor
A new instance of NoMatchingSlot.
Constructor Details
#initialize ⇒ NoMatchingSlot
Returns a new instance of NoMatchingSlot.
31 32 33 34 35 36 |
# File 'lib/ssh_tresor/error.rb', line 31 def initialize super( "No matching slot found\nHint: None of the keys in your SSH agent can decrypt this tresor", exit_code: EXIT_KEY_NOT_FOUND ) end |