QChatGPT/pkg/provider/modelmgr/errors.py

5 lines
175 B
Python
Raw Normal View History

2024-02-01 18:11:47 +08:00
class RequesterError(Exception):
"""Base class for all Requester errors."""
def __init__(self, message: str):
super().__init__("模型请求失败: "+message)