summaryrefslogtreecommitdiff
path: root/box/exceptions.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'box/exceptions.pyi')
-rw-r--r--box/exceptions.pyi5
1 files changed, 5 insertions, 0 deletions
diff --git a/box/exceptions.pyi b/box/exceptions.pyi
new file mode 100644
index 0000000..2be6b54
--- /dev/null
+++ b/box/exceptions.pyi
@@ -0,0 +1,5 @@
+class BoxError(Exception): ...
+class BoxKeyError(BoxError, KeyError, AttributeError): ...
+class BoxTypeError(BoxError, TypeError): ...
+class BoxValueError(BoxError, ValueError): ...
+class BoxWarning(UserWarning): ...