Expand description
ThetaData HTTP/gRPC error code mapping.
The MDDS server returns numeric error codes in HTTP status and gRPC metadata. This module maps those codes to human-readable names and descriptions.
Structs§
- Theta
Data Error - A ThetaData error code with its HTTP status, short name, and description.
Functions§
- error_
from_ grpc_ metadata - Extract an
http_status_codefrom gRPC metadata text and look it up. - error_
from_ http_ code - Look up a
ThetaDataErrorby its HTTP status code. - error_
name - Human-readable error name for an HTTP status code, or
"UNKNOWN".