Exception: KBSecret::Exceptions::RecordTypeUnknownError
- Inherits:
-
KBSecretError
- Object
- RuntimeError
- KBSecretError
- KBSecret::Exceptions::RecordTypeUnknownError
- Defined in:
- lib/kbsecret/exceptions.rb
Overview
Raised during record creation if an unknown record type is requested.
Instance Method Summary collapse
-
#initialize(type) ⇒ RecordTypeUnknownError
constructor
A new instance of RecordTypeUnknownError.
Constructor Details
#initialize(type) ⇒ RecordTypeUnknownError
Returns a new instance of RecordTypeUnknownError.
22 23 24 |
# File 'lib/kbsecret/exceptions.rb', line 22 def initialize(type) super "Unknown record type: '#{type}'" end |