diff options
Diffstat (limited to 'lib/python/qmk/errors.py')
| -rw-r--r-- | lib/python/qmk/errors.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/qmk/errors.py b/lib/python/qmk/errors.py index 4a8a91556..131768782 100644 --- a/lib/python/qmk/errors.py +++ b/lib/python/qmk/errors.py | |||
| @@ -3,3 +3,10 @@ class NoSuchKeyboardError(Exception): | |||
| 3 | """ | 3 | """ |
| 4 | def __init__(self, message): | 4 | def __init__(self, message): |
| 5 | self.message = message | 5 | self.message = message |
| 6 | |||
| 7 | |||
| 8 | class CppError(Exception): | ||
| 9 | """Raised when 'cpp' cannot process a file. | ||
| 10 | """ | ||
| 11 | def __init__(self, message): | ||
| 12 | self.message = message | ||
