mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 06:27:23 +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__()
|