Coverage for src/mkdocs_gallery/errors.py: 100%
6 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-30 08:26 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-30 08:26 +0000
1# Authors: Sylvain MARIE <sylvain.marie@se.com>
2# + All contributors to <https://github.com/smarie/mkdocs-gallery>
3#
4# Original idea and code: sphinx-gallery, <https://sphinx-gallery.github.io>
5# License: 3-clause BSD, <https://github.com/smarie/mkdocs-gallery/blob/master/LICENSE>
6"""
7Common errors
8"""
10from mkdocs.exceptions import PluginError
13class MkdocsGalleryError(PluginError):
14 """The base class of all errors in this plugin.
16 See https://www.mkdocs.org/dev-guide/plugins/#handling-errors.
17 """
20class ExtensionError(MkdocsGalleryError):
21 pass
24class ConfigError(MkdocsGalleryError):
25 pass