mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-14 00:20:06 +08:00
✨ 格式化db_context (#1980)
* ✨ 格式化db_context * 🔥 移除旧db-context * ⚡ 添加旧版本兼容
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class DbUrlIsNode(Exception):
|
||||
"""
|
||||
数据库链接地址为空
|
||||
"""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class DbConnectError(Exception):
|
||||
"""
|
||||
数据库连接错误
|
||||
"""
|
||||
|
||||
pass
|
||||
Reference in New Issue
Block a user