CustomError

  • The provided content describes a custom error structure using a JSON representation.

  • The error structure includes a code field, which is an enumeration of CustomErrorCode.

  • The error structure also includes a message field, 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 (CustomErrorCode),
  "message": string
}
Fields
code

enum (CustomErrorCode)

The custom error code.

message

string

The error message.