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 = 2The user account or API key were deactivated.
AuthFailed = 1The authentication step failed.
ConnectionLimitExceeded = 3The user has exceeded their open connection limit.
InternalError = 6An error occurred in the gateway.
InvalidSubscription = 5There was an issue with a subscription request, other than symbol resolution.
ReplayDataAgedOut = 8The data for a replay subscription is no longer retained, and the schema is incompatible with skipping records.
SkippedRecordsAfterSlowReading = 7A slow client was detected and records were skipped by the gateway to allow catching up.
SymbolResolutionFailed = 4One or more symbols failed to resolve.
Unset = 255No 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.