Поделиться через


ErrorCode type

Определяет значения для ErrorCode. Возможные значения: None, ServerError, InvalidRequest, RateLimitExceededed, InvalidAuthorization, InsufficientAuthorization.

type ErrorCode =
  | "None"
  | "ServerError"
  | "InvalidRequest"
  | "RateLimitExceeded"
  | "InvalidAuthorization"
  | "InsufficientAuthorization"