/** * Ledger operation error class for the BrightChain blockchain ledger. * * Thrown when ledger operations fail, such as: * - Entry not found (invalid sequenceNumber) * - Invalid range (start > end or out of bounds) * - Metadata block corrupted during load * - Append operation failure * * @see Requirements 2.7, 6.3 */ export declare enum LedgerErrorType { EntryNotFound = "EntryNotFound", InvalidRange = "InvalidRange", MetadataCorrupted = "MetadataCorrupted", AppendFailed = "AppendFailed", UnauthorizedSigner = "UnauthorizedSigner", UnauthorizedGovernance = "UnauthorizedGovernance", QuorumNotMet = "QuorumNotMet", GovernanceSafetyViolation = "GovernanceSafetyViolation", InvalidStateTransition = "InvalidStateTransition", InvalidGovernanceTarget = "InvalidGovernanceTarget", MerkleProofFailed = "MerkleProofFailed", ConsistencyProofFailed = "ConsistencyProofFailed", MerkleReconstructionFailed = "MerkleReconstructionFailed" } export declare class LedgerError extends Error { readonly errorType: LedgerErrorType; constructor(errorType: LedgerErrorType, message?: string); } //# sourceMappingURL=ledgerError.d.ts.map