From c8d633dbeacf1da7cddcbacfd7d7c01f6438dede Mon Sep 17 00:00:00 2001 From: Wilson Silva Date: Fri, 22 Dec 2023 15:47:42 +0000 Subject: [PATCH] Fix the @raise documentation of Nostr::Key#initialize --- lib/nostr/key.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nostr/key.rb b/lib/nostr/key.rb index ba0946b..625065d 100644 --- a/lib/nostr/key.rb +++ b/lib/nostr/key.rb @@ -18,14 +18,14 @@ module Nostr # LENGTH = 64 - # Instantiates a new key. Can't be used directly because this is an abstract class. Raises a +ValidationError+ + # Instantiates a new key. Can't be used directly because this is an abstract class. Raises a +KeyValidationError+ # # @see Nostr::PrivateKey # @see Nostr::PublicKey # # @param [String] hex_value Hex-encoded value of the key # - # @raise [ValidationError] + # @raise [KeyValidationError] # def initialize(hex_value) validate_hex_value(hex_value)