Skip to content

Commit 28e2141

Browse files
Update typecodes.py
1 parent fbcb5a5 commit 28e2141

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view/typecodes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def cast(self, obj: object) -> T:
4343
"""Cast an object to the type.
4444
4545
Raises:
46-
TypeValidationFailed: The object is not compatible with the type."""
46+
TypeValidationError: The object is not compatible with the type."""
4747
try:
4848
return self._cast(obj, True)
4949
except RuntimeError:

0 commit comments

Comments
 (0)