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

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).

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).

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).

ResourceExhausted = 6001

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

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).

StorageCapacityExceeded = 2004

A storage capacity limit was exceeded.

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).