Class BSV::Transaction::VerificationError ¶
Inherits: StandardError
Error raised during SPV verification.
Carries a machine-readable code alongside a human-readable message, matching the typed error pattern used by the Go SDK (ErrInvalidMerklePath, ErrFeeTooLow, ErrScriptVerificationFailed).
Constants¶
INSUFFICIENT_FEE ¶
Not documented.
INVALID_MERKLE_PROOF ¶
Not documented.
OUTPUT_OVERFLOW ¶
Not documented.
Attributes¶
code [R] ¶
- @return [Symbol] the error code
Public Instance Methods¶
initialize(code, message) ¶
- @param
code[Symbol] error code - @param
message[String] human-readable description - @return [VerificationError] a new instance of VerificationError