IndeRunError
IndeRunError =
object
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.
Indexable
Section titled “Indexable”[
property:string]:unknown
Properties
Section titled “Properties”details?
Section titled “details?”
optionaldetails?:object
Optional structured diagnostic details. It must not contain raw secrets.
Index Signature
Section titled “Index Signature”[key: string]: unknown
errorClass
Section titled “errorClass”errorClass:
ErrorClass
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).
message
Section titled “message”message:
string
Human-readable error message suitable for logs and developer diagnostics.
provenance?
Section titled “provenance?”
optionalprovenance?:ExecutionProvenance
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.
providerId?
Section titled “providerId?”
optionalproviderId?:string
Identifier of the provider associated with the failure, if execution reached a provider.
retryable?
Section titled “retryable?”
optionalretryable?:boolean
Whether retrying the same request may succeed.
retryAfterMs?
Section titled “retryAfterMs?”
optionalretryAfterMs?:number
Optional suggested delay before retrying, in milliseconds.
runId?
Section titled “runId?”
optionalrunId?:string
Opaque run identifier associated with the failed execution, if available.
schemaVersion
Section titled “schemaVersion”schemaVersion:
"1.0"
Contract schema version used to interpret the error payload.
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