# Class BSV::Wallet::CLI::Error <a id="class-BSV-Wallet-CLI-Error"></a>

**Inherits:** `StandardError`

Exit-code-carrying error hierarchy for the <code>bin/wallet</code> dispatcher.

Commands `raise`; the dispatcher +rescue+s at the top and translates to the
appropriate process exit code via <code>#exit_code</code>. No `abort` inside
commands — that bypasses the contract and is hard to test.

Code scheme (loosely matching shell conventions):
    1 — generic runtime failure (engine raised, network down, etc.)
    2 — usage error (bad flag, missing required arg, unknown command)
    3 — domain error specific to the action requested
          (e.g. +reject+ on an already-broadcast action)

## Public Instance Methods
### `exit_code()` <a id="method-i-exit_code"></a> <a id="exit_code-instance_method"></a>
Not documented.
