litestar.exceptions.dto_exceptions 源代码

from __future__ import annotations

from litestar.exceptions import LitestarException

__all__ = ("DTOFactoryException", "InvalidAnnotationException")


[文档] class DTOFactoryException(LitestarException): """Base DTO exception type."""
[文档] class InvalidAnnotationException(DTOFactoryException): """Unexpected DTO type argument."""