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 Error Response object provides a structured way to handle errors across all methods within the system."],["It includes a common response header, an error code for categorization, a description for debugging, and an optional integrator-specific identifier."],["The error description field is intended for internal use and should not contain sensitive information."],["Integrators can use the `paymentIntegratorErrorIdentifier` field for debugging purposes to track specific calls."]]],["The error response object, applicable to all methods, includes a `responseHeader` (required) for common response information. It features optional fields like `errorResponseCode` to classify the error, `errorDescription` for debugging details (not user-facing), and `paymentIntegratorErrorIdentifier` for integrator-specific call identification. `ErrorDescription` must provide specifics for certain `errorResponseCode` values, such as identifier types for `INVALID_IDENTIFIER`, avoiding the use of sensitive information.\n"]]