summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/errors.py
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-05-27 16:43:10 +0000
committerQMK Bot <hello@qmk.fm>2021-05-27 16:43:10 +0000
commitc1a3060431cd8bf96ed182680c46f1e0d3314ab0 (patch)
treef4b32975305881d5dafdab198cba59faff4d88be /lib/python/qmk/errors.py
parentb769b362027faa10cf5b920be709cf69587a4c97 (diff)
parent84883d340045c50ce6c200c9087461c1db853898 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/errors.py')
-rw-r--r--lib/python/qmk/errors.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/qmk/errors.py b/lib/python/qmk/errors.py
index 4a8a91556b..1317687821 100644
--- a/lib/python/qmk/errors.py
+++ b/lib/python/qmk/errors.py
@@ -3,3 +3,10 @@ class NoSuchKeyboardError(Exception):
"""
def __init__(self, message):
self.message = message
+
+
+class CppError(Exception):
+ """Raised when 'cpp' cannot process a file.
+ """
+ def __init__(self, message):
+ self.message = message