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

**Inherits:** `Error`

Raised by Store#record_block_header when a validated (header-bearing) `blocks`
row already exists at the target height carrying a **different** 80-byte
header (HLR #335). The wallet's locally-validated header chain is
append-or-reject: a competing header at an occupied, already-validated height
is fork / reorg evidence to preserve and investigate (#245), never an upsert
to silently overwrite.

## Attributes
### `height` [R] <a id="attribute-i-height"></a> <a id="height-instance_method"></a>
Returns the value of attribute height.

## Public Instance Methods
### `initialize(height)` <a id="method-i-initialize"></a> <a id="initialize-instance_method"></a>
- **@return** [CompetingBlockHeaderError] a new instance of CompetingBlockHeaderError
