ErrorResponse
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Đối tượng Phản hồi lỗi cho tất cả phương thức.
Biểu diễn dưới dạng JSON |
{
"responseHeader": {
object (ResponseHeader )
},
"errorResponseCode": enum (ErrorResponseCode ),
"errorDescription": string,
"paymentIntegratorErrorIdentifier": string
} |
Trường |
errorResponseCode |
enum (ErrorResponseCode )
KHÔNG BẮT BUỘC: Mã ghi lại loại lỗi đã xảy ra.
|
errorDescription |
string
KHÔNG BẮT BUỘC: Cung cấp nội dung mô tả về trạng thái này để người đại diện hỗ trợ gỡ lỗi. Xin lưu ý rằng người dùng sẽ không nhìn thấy thông tin này. Trường này có thể chứa văn bản mô tả không nhạy cảm dùng để gỡ lỗi. Lưu ý rằng một số giá trị cho errorResponseCode phải được kèm theo thông tin chi tiết bổ sung trong trường này. Ví dụ: INVALID_IDENTIFIER phải đi kèm với thông tin trong trường này về loại giá trị nhận dạng không hợp lệ. Cảnh báo: Không đưa mã thông báo nào vào thư này, trừ phi mã được xác định là công khai.
|
paymentIntegratorErrorIdentifier |
string
KHÔNG BẮT BUỘC: Giá trị nhận dạng này dành riêng cho đơn vị tích hợp và do đơn vị tích hợp tạo ra. Mã này chỉ được dùng cho mục đích gỡ lỗi để xác định lệnh gọi này. Đây là giá trị nhận dạng mà đối tác tích hợp biết cuộc gọi này.
|
Mọi quyền được bảo lưu. Java là một nhãn hiệu đã đăng ký của Oracle và/hoặc chi nhánh của Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["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"]]