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 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-25 (世界標準時間)。"],[],["The document outlines the structure of an Error Response object, applicable to all methods. It includes four key fields: `responseHeader` (a required object common to all responses), `errorResponseCode` (an optional enum indicating the error type), `errorDescription` (an optional string for debugging, providing error details), and `paymentIntegratorErrorIdentifier` (an optional string for integrator-specific debugging and call identification). The `errorDescription` should not include sensitive tokens and additional information is required for certain codes.\n"]]