Hugging Face · Schema

ErrorResponse

Properties

Name Type Description
error string Error message
error_type string Error type classification
View JSON Schema on GitHub

JSON Schema

hugging-face-text-generation-inference-error-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ErrorResponse",
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "description": "Error message"
    },
    "error_type": {
      "type": "string",
      "description": "Error type classification"
    }
  }
}