包package
io.agentscope.builder.web.api.errorio.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.
类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": { ... } }`. |