diff options
Diffstat (limited to 'lib/python/qmk/errors.py')
| -rw-r--r-- | lib/python/qmk/errors.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/python/qmk/errors.py b/lib/python/qmk/errors.py new file mode 100644 index 000000000..f9bf5b9af --- /dev/null +++ b/lib/python/qmk/errors.py | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | class NoSuchKeyboardError(Exception): | ||
| 2 | """Raised when we can't find a keyboard/keymap directory. | ||
| 3 | """ | ||
| 4 | |||
| 5 | def __init__(self, message): | ||
| 6 | self.message = message | ||
