ErrorResponse
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
JSON 表示法 |
{
"responseHeader": {
object (ResponseHeader )
},
"errorResponseCode": enum (ErrorResponseCode ),
"errorDescription": string,
"paymentIntegratorErrorIdentifier": string
} |
欄位 |
errorResponseCode |
enum (ErrorResponseCode )
選用:用來擷取已發生錯誤類型的程式碼。
|
errorDescription |
string
選用:提供此狀態的說明,方便支援代表偵錯錯誤。請注意,使用者不會看到這項資訊。其中包含用於偵錯的描述性非機密文字。請注意,errorResponseCode 的部分值應在這個欄位中附帶其他詳細資料。舉例來說,INVALID_IDENTIFIER 應隨附這個欄位中的資訊,指出該類型無效的 ID 類型。警告:請勿在此訊息中加入任何憑證,除非這些憑證已定義為公開。
|
paymentIntegratorErrorIdentifier |
string
選用:此 ID 僅供整合商使用,由整合商產生。只會將其用於偵錯,以便辨識這個呼叫。這是整合商瞭解此呼叫的 ID。
|
保留所有權利。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The provided content outlines the structure of an Error Response object used across various methods. It includes a `responseHeader` (required), an optional `errorResponseCode` to categorize the error, an optional `errorDescription` for detailed debugging information (not shown to users), and an optional `paymentIntegratorErrorIdentifier` for integrator-specific tracking of the call. These fields provide a standardized method for conveying and troubleshooting errors.\n"]]