Skip to main content

Module error

Module error 

Source
Expand description

Error taxonomy for the Agent OS client SDK.

Mirrors spec.md §4 / ADR-001 §4. Preserves the TypeScript SDK distinction so callers can still discriminate path-guard violations from kernel errno failures. Public methods return anyhow::Result; the typed ClientError is carried as the source so callers can downcast.

Durable session operations return typed client errors when the sidecar rejects an operation. ACP adapter JSON-RPC details are normalized by the sidecar and are not exposed as a second raw session API.

Structs§

ResourceLimitDetails
Structured sidecar admission metadata kept behind one allocation so the public ClientError remains cheap to return through every SDK method.

Enums§

ClientError
Typed error taxonomy for the client SDK.

Type Aliases§

ClientResult
Convenience alias for results carrying a typed ClientError.