Exception: BSV::Wallet::InvalidHmacError

Inherits:
Error
  • Object
show all
Defined in:
lib/bsv/wallet/errors.rb

Overview

Raised when an HMAC fails to verify.

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Constructor Details

#initialize(message = 'the provided HMAC is invalid') ⇒ InvalidHmacError

Returns a new instance of InvalidHmacError.



28
29
30
# File 'lib/bsv/wallet/errors.rb', line 28

def initialize(message = 'the provided HMAC is invalid')
  super(message, 3)
end