Exception: BSV::Wallet::InvalidSignatureError

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

Overview

Code 4 — signature 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 signature is invalid', stack: '') ⇒ InvalidSignatureError

Returns a new instance of InvalidSignatureError.



39
40
41
# File 'lib/bsv/wallet/errors.rb', line 39

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