Table of Contents

Enum ErrorCode

Namespace
DatabentoDotNet.Dbn
Assembly
DatabentoDotNet.Dbn.dll

An error code from the live subscription gateway.

public enum ErrorCode : byte
Extension Methods

Fields

ApiKeyDeactivated = 2

The user account or API key were deactivated.

AuthFailed = 1

The authentication step failed.

ConnectionLimitExceeded = 3

The user has exceeded their open connection limit.

InternalError = 6

An error occurred in the gateway.

InvalidSubscription = 5

There was an issue with a subscription request, other than symbol resolution.

ReplayDataAgedOut = 8

The data for a replay subscription is no longer retained, and the schema is incompatible with skipping records.

SkippedRecordsAfterSlowReading = 7

A slow client was detected and records were skipped by the gateway to allow catching up.

SymbolResolutionFailed = 4

One or more symbols failed to resolve.

Unset = 255

No error code was specified, or this record was upgraded from a version 1 struct where the code field didn't exist.

Remarks

Discriminants are non-contiguous: 1 through 8 are sequential, then Unset jumps to 255. Upstream marks this type #[non_exhaustive]; Databento may add variants in a future release without that being a breaking change. See WireStrings for string conversions; wire strings are the mechanical snake_case of the variant name, with no aliases.