babelizer.errors module¶
Exceptions raised by the babelizer.
- exception babelizer.errors.BabelizeError(message: str)[source]¶
Bases:
Exception
An exception that the babelizer can handle and show to the user.
- exception babelizer.errors.OutputDirExistsError(message: str)[source]¶
Bases:
BabelizeError
An exception used when the directory for babelized output exists.
- exception babelizer.errors.RenderError(message: str)[source]¶
Bases:
BabelizeError
Raised if the babelizer encounters an error in creating output files.
- exception babelizer.errors.ScanError(message: str)[source]¶
Bases:
BabelizeError
Raised if babelizer configuration file is incorrectly formatted.
- exception babelizer.errors.SetupPyError(message: str)[source]¶
Bases:
BabelizeError
Raised if the babelized package cannot be built through setup.py.
- exception babelizer.errors.ValidationError(message: str)[source]¶
Bases:
BabelizeError
Raised if babelizer configuration data are incorrectly formatted.