QChatGPT/pkg/provider/modelmgr/errors.py

6 lines
176 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):
2024-03-18 11:22:26 +08:00
super().__init__("模型请求失败: "+message)