Table of Contents

Enum TyphonErrorCode

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Numeric error codes organized by subsystem range. Only implemented codes are defined; reserved ranges are filled as later tiers are built out. Codes within a range are assigned sequentially as needed; gaps are intentional to allow insertion without renumbering.

public enum TyphonErrorCode

Fields

BackupAborted = 7107

An online backup capture was abandoned: it could not keep up with the engine's writes, the store failed, or the engine was stopping. Nothing was published, and the next backup still covers every page this one would have.

BackupChainBroken = 7104

A backup point's chain misses a pack, or its links disagree (see BackupChainBrokenException).

BackupFormatUnsupported = 7105

A backup store or pack was written by a newer format this build cannot read (see BackupFormatUnsupportedException).

BackupInProgress = 7108

A backup was requested while another one was running on the same engine.

BackupPackCorrupt = 7103

A backup pack failed one of its checks: a CRC, a bound, a frame (see BackupPackCorruptException).

BackupStoreLocked = 7101

Another writer holds the backup store's lock (see BackupStoreLockedException). Transient.

BackupStoreMismatch = 7102

The backup store belongs to another database (see BackupStoreMismatchException).

BulkLoadCheckpointTimeout = 7007

The synchronous checkpoint at bulk-load completion did not finish within its timeout (see BulkLoadCheckpointTimeoutException).

BulkSessionAlreadyActive = 7005

A bulk-load session is already open — only one is allowed per engine (see BulkSessionAlreadyActiveException).

BulkSessionClosed = 7006

An operation was attempted on a bulk-load session that was already completed or disposed (see BulkSessionClosedException).

CommitDurabilityUncertain = 7008

A published transaction's durability wait did not confirm its records reached stable storage (see CommitDurabilityUncertainException).

CommitPipelineStopped = 7010

A commit was refused because the engine stopped committing after an incomplete publish (see CommitPipelineFailure).

CommitPublishIncomplete = 7009

A transaction's records were appended but its publish did not complete; the engine stopped committing (see CommitPublishIncompleteException).

DataCorruption = 2003

Structural data corruption or an integrity violation (see CorruptionException).

DatabaseLocked = 2007

The database bundle is already locked by another process (see DatabaseLockedException).

InvalidDatabaseBundle = 2008

A file occupies the database bundle path, which must be a directory (raised as a StorageException).

InvalidSystemAccess = 8001

DEBUG-only: a system mutated a component it did not declare in its access set (see InvalidAccessException).

LockTimeout = 6003

A shared or exclusive lock acquisition exceeded its deadline (see LockTimeoutException).

PageCacheAllocationFailed = 2009

The page cache could not be allocated at startup: DatabaseCacheSize is more than the host grants (raised as a StorageException).

PageCacheBackpressureTimeout = 2006

Page cache allocation timed out waiting for dirty pages to flush (see PageCacheBackpressureTimeoutException).

PageChecksumMismatch = 2005

A page failed CRC32C verification — torn or corrupted (see PageCorruptionException).

RecoveryArchetypeNotRegistered = 7012

A crash open's WAL window holds records of an archetype the opening process does not register. The open fails before applying any record; registering the archetype and opening again recovers them.

RecoveryCheckpointFailed = 7011

A crash open failed: its checkpointer hit a fatal failure before the recovery was sealed, so the recovered state could not be consolidated. The data file holds what the crash left and what the recovery wrote, every write covered by the log; the next open recovers again (CK-08).

ResourceExhausted = 6001

A resource limit was exhausted — registry slots, active transactions, or segment capacity (see ResourceExhaustedException).

RestoreRefused = 7106

A restore refused to write its target (see RestoreRefusedException).

SchemaMigration = 3002

A user-supplied migration function failed for one or more entities (see SchemaMigrationException).

SchemaValidation = 3001

A component's runtime schema is incompatible with the persisted schema, or the persisted revision is newer than the runtime (see SchemaValidationException and SchemaDowngradeException).

SnapshotExpired = 1003

A read was attempted at a snapshot whose revisions have already been reclaimed (see SnapshotExpiredException).

StorageCapacityExceeded = 2004

A storage capacity limit was exceeded: a commit that needs more of the page cache than it has (see TransactionExceedsPageCacheException).

TransactionTimeout = 1002

A transaction exceeded its overall deadline (see TransactionTimeoutException).

UniqueConstraintViolation = 4001

An insert or update would create a duplicate key in a unique index (see UniqueConstraintViolationException).

Unspecified = 0

No specific error code — a generic or unclassified engine failure.

WalBackPressureTimeout = 7001

A WAL commit-buffer claim timed out waiting for buffer space (see WalBackPressureTimeoutException).

WalClaimTooLarge = 7002

A single WAL claim exceeds the entire commit-buffer capacity (see WalClaimTooLargeException).

WalSegmentError = 7004

A WAL segment file operation (create, rotate, or header validation) failed (see WalSegmentException).

WalWriteFailure = 7003

A fatal WAL write I/O failure — the engine can no longer accept durable commits (see WalWriteException).