grubhub · Schema

Error

Standard error response from the Grubhub API.

Properties

Name Type Description
error string Error type identifier.
message string Human-readable error description.
status integer HTTP status code.
View JSON Schema on GitHub

JSON Schema

grubhub-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "type": "object",
  "description": "Standard error response from the Grubhub API.",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error type identifier."
    },
    "message": {
      "type": "string",
      "description": "Human-readable error description."
    },
    "status": {
      "type": "integer",
      "description": "HTTP status code."
    }
  }
}