类class
agentscope.typesErrorInfo
class ErrorInfo(BaseModel)
源码Source
agentscope/types/_reply.py:46–52错误信息,为框架提供通用类型与基础能力。位于 agentscope.types 包。
Structured, UI-facing description of a fatal reply error. Declared in agentscope.types.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
type | ErrorType | 类型字段。 | ErrorType.UNKNOWN |
message | str | 消息字段。 | — |
属性详情Attribute Detail
type
ErrorType = ErrorType.UNKNOWN类型字段。声明为 ErrorType。
The type field.
源码Source
agentscope/types/_reply.py:49message
str消息字段。声明为 str。
The message field.
源码Source
agentscope/types/_reply.py:51