Speakeasy · Schema

Error

The `Status` type defines a logical error model

AIDocumentationMCPPlatformSDKsTerraformTesting

Properties

Name Type Description
message string A developer-facing error message.
status_code integer The HTTP status code
View JSON Schema on GitHub

JSON Schema

speakeasy-error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Error",
  "title": "Error",
  "description": "The `Status` type defines a logical error model",
  "properties": {
    "message": {
      "description": "A developer-facing error message.",
      "type": "string"
    },
    "status_code": {
      "description": "The HTTP status code",
      "format": "int32",
      "type": "integer"
    }
  },
  "required": [
    "message",
    "status_code"
  ],
  "type": "object"
}