Exception: KBSecret::Exceptions::RecordTypeUnknownError

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

Overview

Raised during record creation if an unknown record type is requested.

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ RecordTypeUnknownError

Returns a new instance of RecordTypeUnknownError.

Parameters:

  • type (String, Symbol)

    the record type



22
23
24
# File 'lib/kbsecret/exceptions.rb', line 22

def initialize(type)
  super "Unknown record type: '#{type}'"
end