类class
agentscope.exceptionDeveloperOrientedException
class DeveloperOrientedException(Exception)
源码Source
agentscope/exception/_base.py:21–27Developer 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 |
|---|---|---|
message | str | 消息(类型 `str`)。The message. |
源码Source
agentscope/exception/_base.py:24–27