We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2a044 commit 713a7fbCopy full SHA for 713a7fb
1 file changed
docs/validation.md
@@ -101,7 +101,7 @@ This can be further customized by providing {func}`cattrs.transform_error` with
101
A useful pattern is wrapping the default, {func}`cattrs.v.format_exception` function.
102
103
```
104
->>> from cattrs.v iomport format_exception
+>>> from cattrs.v import format_exception
105
106
>>> def my_exception_formatter(exc: BaseException, type) -> str:
107
... if isinstance(exc, MyInterestingException):
0 commit comments