"""Commonly used exception classes."""
from .backend.execute import ExecutableNotFound, CalledProcessError
__all__ = ['RequiredArgumentError', 'FileExistsError',
'UnknownSuffixWarning', 'FormatSuffixMismatchWarning',
'ExecutableNotFound', 'CalledProcessError']
[docs]class RequiredArgumentError(TypeError):
""":class:`TypeError` raised if a required argument is missing."""
[docs]class FileExistsError(FileExistsError):
""":class:`FileNotFoundError` raised with ``raise_if_exists=True``."""
[docs]class UnknownSuffixWarning(RuntimeWarning):
""":class:`RuntimeWarning` raised if the suffix of ``outfile`` is unknown
and the given ``format`` is used instead."""