~ruther/qmk_firmware

ref: 80d679fac3406d9c3d6f3b10e133161c3f938697 qmk_firmware/lib/python/qmk/errors.py -rw-r--r-- 321 bytes
80d679fa — depermana12 [Keyboard] Add dp3000 macropad (#21413) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
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