~ruther/qmk_firmware

ref: 249fb3c2c2cb1a62f3ea99a67963f5127e280b1f qmk_firmware/lib/python/qmk/errors.py -rw-r--r-- 321 bytes
249fb3c2 — AndrĂ© Greiner-Petter [BUG] Allow multiple IS31FL3741 drivers per board in rgb_matrix (#20988) 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