aboutsummaryrefslogtreecommitdiffstats
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.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/qmk/errors.py b/lib/python/qmk/errors.py
new file mode 100644
index 000000000..f9bf5b9af
--- /dev/null
+++ b/lib/python/qmk/errors.py
@@ -0,0 +1,6 @@
+class NoSuchKeyboardError(Exception):
+ """Raised when we can't find a keyboard/keymap directory.
+ """
+
+ def __init__(self, message):
+ self.message = message