| Server IP : 46.101.140.223 / Your IP : 216.73.217.61 Web Server : nginx/1.22.1 System : Linux debian-s-1vcpu-1gb-fra1-01 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : deploy-others ( 1001) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/root/lib/python3/dist-packages/mkdocs/ |
Upload File : |
from __future__ import annotations
from click import ClickException, echo
class MkDocsException(ClickException):
"""The base class which all MkDocs exceptions inherit from. This should
not be raised directly. One of the subclasses should be raised instead."""
class Abort(MkDocsException):
"""Abort the build"""
def show(self, *args, **kwargs) -> None:
echo(self.format_message())
class ConfigurationError(MkDocsException):
"""This error is raised by configuration validation when a validation error
is encountered. This error should be raised by any configuration options
defined in a plugin's [config_scheme][]."""
class BuildError(MkDocsException):
"""This error may be raised by MkDocs during the build process. Plugins should
not raise this error."""
class PluginError(BuildError):
"""A subclass of [`mkdocs.exceptions.BuildError`][] which can be raised by plugin
events."""