summaryrefslogtreecommitdiffstats
path: root/gatt/errors.py
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2023-10-01 10:52:07 (EDT)
committer P. J. McDermott <pj@pehjota.net>2023-10-01 10:52:07 (EDT)
commit1369c3fcb52c7e6500bf52ecfddf113747f05047 (patch)
tree2862ad27d6028c1ebcc47b05396c956157059960 /gatt/errors.py
downloadgatt-python-upstream/0.2.7.zip
gatt-python-upstream/0.2.7.tar.gz
gatt-python-upstream/0.2.7.tar.bz2
New upstream version 0.2.7upstream/0.2.7upstream/latest
Diffstat (limited to 'gatt/errors.py')
-rw-r--r--gatt/errors.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/gatt/errors.py b/gatt/errors.py
new file mode 100644
index 0000000..477bb88
--- /dev/null
+++ b/gatt/errors.py
@@ -0,0 +1,30 @@
+class AccessDenied(Exception):
+ pass
+
+
+class Failed(Exception):
+ pass
+
+
+class InProgress(Exception):
+ pass
+
+
+class InvalidValueLength(Exception):
+ pass
+
+
+class NotAuthorized(Exception):
+ pass
+
+
+class NotReady(Exception):
+ pass
+
+
+class NotPermitted(Exception):
+ pass
+
+
+class NotSupported(Exception):
+ pass