summaryrefslogtreecommitdiff
path: root/lib/python/qmk/errors.py
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2021-06-29 12:23:03 -0700
committerDrashna Jael're <drashna@live.com>2021-06-29 12:24:07 -0700
commitacf2c323e2927f6007b17ded577cf49fd86fec6c (patch)
tree8334dc5c71e6ab9bf33c76143eac7bb0e60159b0 /lib/python/qmk/errors.py
parentec7a7beeed3046e9144d4c4ce0ef3b2c4f9e4341 (diff)
parentf55e39e8a2246f6f96fd5d4a84a866e2615cde7b (diff)
Merge upstream QMK Firmware at '0.12.52~1'
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