AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.builder.web.api.error

io.agentscope.builder.web.api.error

package io.agentscope.builder.web.api.error

io.agentscope.builder.web.api.error 属于运行时与部署,服务化、调度、控制面与 Web 应用。 该包共收录 5 个公开类型。

io.agentscope.builder.web.api.error belongs to the Runtime & deployment layer and contains 5 public types.

所属构件Artifacts service-common

类Classes

类型Type种类Kind说明Description
ApiException类class
API 异常,表示执行过程中的错误。
Typed API failure with stable machine `code` for HTTP and session.error payloads.
RestExceptionHandler类class
REST 异常处理器,承载智能体的部署、调度与服务化运行。
Maps exceptions on `/api/**` to the shared typed error envelope.

枚举Enums

类型Type种类Kind说明Description
ApiErrorType枚举enum
定义API 错误类型的枚举。
Typed HTTP / session.error categories shared across the Managed Agents API surface.

记录Records

类型Type种类Kind说明Description
ApiErrorDetail记录record
承载 API 错误详情数据的记录类型。
Shared typed error object for HTTP responses and `session.error` payloads.
ApiErrorResponse记录record
承载 API 错误响应数据的记录类型。
Top-level HTTP error envelope: `{ "type": "error", "error": { ... } }`.
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.