Module BSV::Wallet ¶
Public Class Methods¶
error_from_wire(code, message, stack = '') ¶
Rehydrate a wire error frame into the appropriate subclass. - @param code [Integer] error code byte from the result frame - @param message [String] error message from the frame - @param stack [String] stack trace from the frame (may be empty) - @return [Error] an instance of the matching subclass