CustomError
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
JSON के काेड में दिखाना |
{
"code": enum (CustomErrorCode ),
"message": string
} |
फ़ील्ड |
code |
enum (CustomErrorCode )
कस्टम गड़बड़ी का कोड.
|
message |
string
गड़बड़ी का मैसेज.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe provided content describes a custom error structure using a JSON representation.\u003c/p\u003e\n"],["\u003cp\u003eThe error structure includes a \u003ccode\u003ecode\u003c/code\u003e field, which is an enumeration of \u003ccode\u003eCustomErrorCode\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe error structure also includes a \u003ccode\u003emessage\u003c/code\u003e field, which is a string containing the error description.\u003c/p\u003e\n"],["\u003cp\u003eThe schema representation is provided within the context of a table that shows the JSON representation as well as a separate table for the fields.\u003c/p\u003e\n"]]],["The JSON representation for a custom error includes two fields: `code` and `message`. The `code` field is an enumerated value from `CustomErrorCode`, representing a specific error type. The `message` field is a string providing a detailed description of the error. This structure is used to communicate custom error information, utilizing a defined error code and an accompanying message.\n"],null,["# CustomError\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nCustom error.\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------|---|\n| ``` { \"code\": enum (/zero-touch/reference/reseller/rest/v1/CustomErrorCode), \"message\": string } ``` |\n\n| Fields ||\n|-----------|-------------------------------------------------------------------------------------------------------------|\n| `code` | `enum (`[CustomErrorCode](/zero-touch/reference/reseller/rest/v1/CustomErrorCode)`)` The custom error code. |\n| `message` | `string` The error message. |"]]