Exception: Nostr::InvalidKeyTypeError
- Inherits:
-
KeyValidationError
- Object
- StandardError
- Error
- KeyValidationError
- Nostr::InvalidKeyTypeError
- Defined in:
- lib/nostr/errors/invalid_key_type_error.rb
Overview
Raised when the private key is not a string
Instance Method Summary collapse
-
#initialize(key_kind) ⇒ InvalidKeyTypeError
constructor
Initializes the error.
Constructor Details
#initialize(key_kind) ⇒ InvalidKeyTypeError
Initializes the error
16 |
# File 'lib/nostr/errors/invalid_key_type_error.rb', line 16 def initialize(key_kind) = super("Invalid #{key_kind} key type") |