qmk_firmware/lib/python/qmk/errors.py
Erovia 84883d3400
CLI/c2json: Print 'cpp' error when executed in verbose mode ()
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-05-27 17:42:38 +01:00

13 lines
321 B
Python

class NoSuchKeyboardError(Exception):
"""Raised when we can't find a keyboard/keymap directory.
"""
def __init__(self, message):
self.message = message
class CppError(Exception):
"""Raised when 'cpp' cannot process a file.
"""
def __init__(self, message):
self.message = message