Theo Docs
TheoKitTheoKit-SDKTheoUITheo PaaS
API reference

UnsupportedRunOperationError

Thrown when a Run or agent operation is not available on the current

UnsupportedRunOperationError

Auto-generated from TypeDoc on each build. Edit the JSDoc in packages/sdk/src/ to change this page.

Thrown when a Run or agent operation is not available on the current runtime. Check first with run.supports(operation).

Extends TheokitAgentError (so error-catching code that branches on instanceof TheokitAgentError continues to work) but is never retryable — an unsupported operation will not become supported on retry.

Signature

class UnsupportedRunOperationError {
  captureStackTrace(...): ...
  prepareStackTrace(...): ...
}

Kind

class

Source

packages/sdk/src/errors.ts:243

On this page