Exception: BSV::Wallet::InvalidHmacError

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

Overview

Code 3 — HMAC verification failed.

Instance Attribute Summary

Attributes inherited from Error

#code, #wallet_stack

Instance Method Summary collapse

Methods inherited from Error

#to_wire

Constructor Details

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

Returns a new instance of InvalidHmacError.



32
33
34
# File 'lib/bsv/wallet/errors.rb', line 32

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