Skip to content
Developer Preview

ErrorObject

The error member of an error response.

  • code
  • data
  • message
Source

schema/msp/experimental/msp.schema.json#/types/ErrorObject

{
"description": "The `error` member of an error response.",
"properties": {
"code": {
"description": "Registry code. Typed as a plain integer on the wire; the\nvalue domain is the registry below.",
"type": "integer"
},
"data": {
"$ref": "#/$defs/ErrorData",
"description": "Structured detail; carries `kind` when present."
},
"message": {
"description": "Human-readable message. Never a branch point.",
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
}