blob: 037e3c6739118c77426d82472044d69f0c34b085 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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."""
|