共用方式為


ErrorCodeType type

定義 ErrorCodeType 的值。 可能的值包括:'BadArgument'、'禁止'、'NotFound'、'KbNotFound'、'Unauthorized'、'Unspecified'、'EndpointKeysError'、'QuotaExceeded'、'QnaRuntimeError'、'SKULimitExceeded'、'OperationNotFound'、'ServiceError'、'ValidationFailure'、'CaptureFailure'

type ErrorCodeType =
  | "BadArgument"
  | "Forbidden"
  | "NotFound"
  | "KbNotFound"
  | "Unauthorized"
  | "Unspecified"
  | "EndpointKeysError"
  | "QuotaExceeded"
  | "QnaRuntimeError"
  | "SKULimitExceeded"
  | "OperationNotFound"
  | "ServiceError"
  | "ValidationFailure"
  | "ExtractionFailure"