mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-12-19 05:15:42 +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__()
|