app/liteyuki/exception.py

11 lines
238 B
Python
Raw Permalink Normal View History

2024-06-26 13:52:04 +08:00
"""exception模块包含了liteyuki运行中的所有错误
"""
from typing import Any, Optional
class LiteyukiException(BaseException):
"""Liteyuki的异常基类。"""
def __str__(self) -> str:
return self.__repr__()