~ruther/qmk_firmware

ref: e67a4ba7ce476b5bba273a2d5b693b3641b27dcb qmk_firmware/lib/python/qmk/errors.py -rw-r--r-- 321 bytes
e67a4ba7 — Luis Garcia Update to 'peterfalken' userspace configurations (#21836) 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