Exception: KBSecret::Exceptions::SessionUnknownError

Inherits:
KBSecretError
  • Object
show all
Defined in:
lib/kbsecret/exceptions.rb

Overview

Raised during session lookup if an unknown session is requested.

Instance Method Summary collapse

Constructor Details

#initialize(sess) ⇒ SessionUnknownError

Returns a new instance of SessionUnknownError.

Parameters:

  • sess (String, Symbol)

    the label of the session



56
57
58
# File 'lib/kbsecret/exceptions.rb', line 56

def initialize(sess)
  super "Unknown session: '#{sess}'"
end