treehole.utils

辅助功能

 1"""
 2辅助功能
 3"""
 4
 5import logging
 6
 7
 8class EmptyError(Exception):
 9    """没有数据"""
10
11
12class AuthError(Exception):
13    """认证错误"""
14
15
16logger = logging.getLogger("TreeHole")
17"""日志记录器"""
class EmptyError(builtins.Exception):
 9class EmptyError(Exception):
10    """没有数据"""

没有数据

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
class AuthError(builtins.Exception):
13class AuthError(Exception):
14    """认证错误"""

认证错误

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
logger = <Logger TreeHole (WARNING)>

日志记录器