AS AgentScopeAPI 手册 / API Reference
类class agentscope.types

ErrorInfo

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
typeErrorType
类型字段。
ErrorType.UNKNOWN
messagestr
消息字段。
—

属性详情Attribute Detail

type

ErrorType = ErrorType.UNKNOWN

类型字段。声明为 ErrorType。

The type field.

源码Source agentscope/types/_reply.py:49

message

str

消息字段。声明为 str。

The message field.

源码Source agentscope/types/_reply.py:51
基于官方固定版本源码静态生成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.