Class BSV::Wallet::InvalidParameterError ¶
Inherits: BSV::Wallet::Error
Code 6 — a required parameter is missing or invalid.
Two calling conventions: InvalidParameterError.new('pubkey', 'a hex string') # raises "the pubkey parameter must be ..." InvalidParameterError.new('raw message') # wire-rehydration path
Attributes¶
parameter [R] ¶
Returns the value of attribute parameter.
Public Instance Methods¶
initialize(parameter, must_be = nil, stack: = '') ¶
- @return [InvalidParameterError] a new instance of InvalidParameterError