Exception: KBSecret::RecordTypeUnknownError
- Inherits:
-
KBSecretError
- Object
- RuntimeError
- KBSecretError
- KBSecret::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.
10 11 12 |
# File 'lib/kbsecret/exceptions.rb', line 10 def initialize(type) super "Unknown record type: #{type}" end |