Exception: KBSecret::Exceptions::GeneratorUnknownError

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

Overview

Raised during generator lookup if an unknown profile is requested.

Instance Method Summary collapse

Constructor Details

#initialize(gen) ⇒ GeneratorUnknownError

Returns a new instance of GeneratorUnknownError.

Parameters:

  • gen (String, Symbol)

    the label of the generator



72
73
74
# File 'lib/kbsecret/exceptions.rb', line 72

def initialize(gen)
  super "Unknown generator profile: '#{gen}'"
end