aboutsummaryrefslogtreecommitdiffstats
path: root/python/attr/exceptions.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'python/attr/exceptions.pyi')
-rw-r--r--python/attr/exceptions.pyi7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/attr/exceptions.pyi b/python/attr/exceptions.pyi
new file mode 100644
index 0000000..48fffcc
--- /dev/null
+++ b/python/attr/exceptions.pyi
@@ -0,0 +1,7 @@
+class FrozenInstanceError(AttributeError):
+ msg: str = ...
+
+class AttrsAttributeNotFoundError(ValueError): ...
+class NotAnAttrsClassError(ValueError): ...
+class DefaultAlreadySetError(RuntimeError): ...
+class UnannotatedAttributeError(RuntimeError): ...