mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-14 11:27:37 +08:00
11 lines
238 B
Python
11 lines
238 B
Python
|
"""exception模块包含了liteyuki运行中的所有错误
|
||
|
"""
|
||
|
|
||
|
from typing import Any, Optional
|
||
|
|
||
|
|
||
|
class LiteyukiException(BaseException):
|
||
|
"""Liteyuki的异常基类。"""
|
||
|
def __str__(self) -> str:
|
||
|
return self.__repr__()
|