AI-generated Key Takeaways
-
The provided content describes a custom error structure using a JSON representation.
-
The error structure includes a
codefield, which is an enumeration ofCustomErrorCode. -
The error structure also includes a
messagefield, which is a string containing the error description. -
The schema representation is provided within the context of a table that shows the JSON representation as well as a separate table for the fields.
Custom error.
| JSON representation | |
|---|---|
{
"code": enum ( |
|
| Fields | |
|---|---|
code |
The custom error code. |
message |
The error message. |