# Module BSV::Wallet <a id="module-BSV-Wallet"></a>

## Public Class Methods
### `error_from_wire(code, message, stack = '')` <a id="method-c-error_from_wire"></a> <a id="error_from_wire-class_method"></a>
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
