Be more informative when the signature has an invalid type

This commit is contained in:
Wilson Silva
2024-03-19 14:18:54 +00:00
parent 1ff9611051
commit 04574cc836
3 changed files with 3 additions and 3 deletions

View File

@@ -11,6 +11,6 @@ module Nostr
# @example
# InvalidSignatureTypeError.new
#
def initialize = super('Invalid signature type')
def initialize = super('Invalid signature type. It must be a string with lowercase hexadecimal characters.')
end
end