Exception: KBSecret::Exceptions::GeneratorFormatError

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

Overview

Raised during generator creation if an unknown generator format is requested.

Instance Method Summary collapse

Constructor Details

#initialize(fmt) ⇒ GeneratorFormatError

Returns a new instance of GeneratorFormatError.

Parameters:

  • fmt (String, Symbol)

    the format of the generator



80
81
82
# File 'lib/kbsecret/exceptions.rb', line 80

def initialize(fmt)
  super "Unknown generator format: '#{fmt}'"
end