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."""