inderunErrorSchema
constinderunErrorSchema:object
The JSON Schemas those models were generated from, for runtime use.
Type Declaration
Section titled “Type Declaration”
readonly$id:"https://schemas.inderun.dev/1.0/inderun-error.schema.json"
$schema
Section titled “$schema”
readonly$schema:"https://json-schema.org/draft/2020-12/schema"
additionalProperties
Section titled “additionalProperties”
readonlyadditionalProperties:true
description
Section titled “description”
readonlydescription:"The error shape thrown by run() (wrapped in an IndeRunException) when execution fails — via validation, routing (no eligible provider), or every attempted provider failing. Never returned as part of a successful TaskResult."
properties
Section titled “properties”
readonlyproperties:object
properties.details
Section titled “properties.details”
readonlydetails:object
properties.details.additionalProperties
Section titled “properties.details.additionalProperties”
readonlyadditionalProperties:true
properties.details.description
Section titled “properties.details.description”
readonlydescription:"Optional structured diagnostic details. It must not contain raw secrets."
properties.details.type
Section titled “properties.details.type”
readonlytype:"object"
properties.errorClass
Section titled “properties.errorClass”
readonlyerrorClass:object
properties.errorClass.description
Section titled “properties.errorClass.description”
readonlydescription:"Normalized error taxonomy, shared with TaskResult.telemetry.errorClass: CapabilityMismatch (request needs something no eligible provider supports), Offline/Unavailable (provider unreachable or not ready), AuthError (credential/auth failure), RateLimited (provider throttled the request), Timeout (provider exceeded its execution budget), Internal (unexpected engine-side failure)."
properties.errorClass.enum
Section titled “properties.errorClass.enum”
readonlyenum: readonly ["CapabilityMismatch","Offline","AuthError","RateLimited","Timeout","Unavailable","Internal"]
properties.message
Section titled “properties.message”
readonlymessage:object
properties.message.description
Section titled “properties.message.description”
readonlydescription:"Human-readable error message suitable for logs and developer diagnostics."
properties.message.minLength
Section titled “properties.message.minLength”
readonlyminLength:1
properties.message.type
Section titled “properties.message.type”
readonlytype:"string"
properties.provenance
Section titled “properties.provenance”
readonlyprovenance:object
properties.provenance.$ref
Section titled “properties.provenance.$ref”
readonly$ref:"execution-provenance.schema.json"
properties.provenance.description
Section titled “properties.provenance.description”
readonlydescription:"Normalized execution provenance: which target ran, its declared locality, the configured and reported model, and how fallback and routing played out. See execution-provenance.schema.json."
properties.providerId
Section titled “properties.providerId”
readonlyproviderId:object
properties.providerId.description
Section titled “properties.providerId.description”
readonlydescription:"Identifier of the provider associated with the failure, if execution reached a provider."
properties.providerId.minLength
Section titled “properties.providerId.minLength”
readonlyminLength:1
properties.providerId.type
Section titled “properties.providerId.type”
readonlytype:"string"
properties.retryable
Section titled “properties.retryable”
readonlyretryable:object
properties.retryable.description
Section titled “properties.retryable.description”
readonlydescription:"Whether retrying the same request may succeed."
properties.retryable.type
Section titled “properties.retryable.type”
readonlytype:"boolean"
properties.retryAfterMs
Section titled “properties.retryAfterMs”
readonlyretryAfterMs:object
properties.retryAfterMs.description
Section titled “properties.retryAfterMs.description”
readonlydescription:"Optional suggested delay before retrying, in milliseconds."
properties.retryAfterMs.minimum
Section titled “properties.retryAfterMs.minimum”
readonlyminimum:0
properties.retryAfterMs.type
Section titled “properties.retryAfterMs.type”
readonlytype:"integer"
properties.runId
Section titled “properties.runId”
readonlyrunId:object
properties.runId.description
Section titled “properties.runId.description”
readonlydescription:"Opaque run identifier associated with the failed execution, if available."
properties.runId.minLength
Section titled “properties.runId.minLength”
readonlyminLength:1
properties.runId.type
Section titled “properties.runId.type”
readonlytype:"string"
properties.schemaVersion
Section titled “properties.schemaVersion”
readonlyschemaVersion:object
properties.schemaVersion.const
Section titled “properties.schemaVersion.const”
readonlyconst:"1.0"
properties.schemaVersion.description
Section titled “properties.schemaVersion.description”
readonlydescription:"Contract schema version used to interpret the error payload."
required
Section titled “required”
readonlyrequired: readonly ["schemaVersion","errorClass","message"]
readonlytitle:"IndeRunError"
readonlytype:"object"
IndeRun — open-source AI execution for cross-platform apps. Built and maintained by Independo GmbH (opens in new tab), supported by netidee (opens in new tab).
MIT-licensed SDK · No SDK usage telemetry.
© 2025–2026 Independo GmbH