TranslationErrorCode type

包含高階錯誤碼的列舉。

type TranslationErrorCode =
  | "InvalidRequest"
  | "InvalidArgument"
  | "InternalServerError"
  | "ServiceUnavailable"
  | "ResourceNotFound"
  | "Unauthorized"
  | "RequestRateTooHigh"