aboutsummaryrefslogtreecommitdiff
path: root/lib/python/qmk/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/qmk/errors.py')
-rw-r--r--lib/python/qmk/errors.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/qmk/errors.py b/lib/python/qmk/errors.py
new file mode 100644
index 0000000000..4a8a91556b
--- /dev/null
+++ b/lib/python/qmk/errors.py
@@ -0,0 +1,5 @@
+class NoSuchKeyboardError(Exception):
+ """Raised when we can't find a keyboard/keymap directory.
+ """
+ def __init__(self, message):
+ self.message = message