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

DeveloperOrientedException

class DeveloperOrientedException(Exception)
源码Source agentscope/exception/_base.py:21–27

Developer Oriented 异常,表示执行过程中的错误。位于 agentscope.exception 包,继承自 Exception。

The exception should be raised to the developers. Declared in agentscope.exception. Extends Exception.

构造器摘要Constructor Summary

构造器Constructor说明Description
def __init__(message: str)
初始化 `DeveloperOrientedException` 实例。
Initialize the exception with a message.

构造器详情Constructor Detail

DeveloperOrientedException

def __init__(message: str)

初始化 DeveloperOrientedException 实例。

Initialize the exception with a message.

参数Parameters
名称Name类型Type说明Description
messagestr消息(类型 `str`)。The message.
源码Source agentscope/exception/_base.py:24–27
基于官方固定版本源码静态生成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.