Skip to content

Commit

Permalink
Expose the error types on the (deprecated) cattr.errors as well
Browse files Browse the repository at this point in the history
  • Loading branch information
jap committed Apr 16, 2022
1 parent cda9f0d commit 9754625
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/cattr/errors.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
from cattrs.errors import StructureHandlerNotFoundError
from cattrs.errors import (
BaseValidationError,
ClassValidationError,
ForbiddenExtraKeysError,
IterableValidationError,
StructureHandlerNotFoundError,
)

__all__ = ["StructureHandlerNotFoundError"]
__all__ = [
"BaseValidationError",
"ClassValidationError",
"ForbiddenExtraKeysError",
"IterableValidationError",
"StructureHandlerNotFoundError",
]

0 comments on commit 9754625

Please sign in to comment.