Manticore Search · Schema

errorResponse

Error response object containing information about the error and a status code

SearchFull-Text SearchVector SearchElasticsearch CompatibleOpen SourceDatabase

Properties

Name Type Description
error object
status integer HTTP status code of the error response
View JSON Schema on GitHub

JSON Schema

errorResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/manticore/main/json-schema/errorResponse.json",
  "title": "errorResponse",
  "description": "Error response object containing information about the error and a status code",
  "type": "object",
  "required": [
    "error"
  ],
  "properties": {
    "error": {
      "$ref": "#/components/schemas/responseError"
    },
    "status": {
      "type": "integer",
      "description": "HTTP status code of the error response",
      "default": 500
    }
  },
  "example": {
    "status": 500,
    "error": "an error occured"
  }
}