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

**Inherits:** `Error`

Raised by Store#verify_schema! when the per-wallet
<code>outputs.spendable_recoverable</code> CHECK literal recovered from the
database does not match the WIF currently driving the wallet (HLR #467).
Catches schema drift, restore-to-wrong-DB, and WIF rotation — any of which
would let the wallet sign spends against a CHECK that no longer mirrors its
identity.

## Public Instance Methods
### `initialize(message = 'schema integrity check failed')` <a id="method-i-initialize"></a> <a id="initialize-instance_method"></a>
- **@return** [SchemaIntegrityError] a new instance of SchemaIntegrityError
