babelizer.errors module

exception babelizer.errors.BabelizeError(message)

Bases: Exception

An exception that the babelizer can handle and show to the user.

exception babelizer.errors.OutputDirExistsError(message)

Bases: babelizer.errors.BabelizeError

An exception used when the directory for babelized output exists.

exception babelizer.errors.RenderError(message)

Bases: babelizer.errors.BabelizeError

Raised if the babelizer encounters an error in creating output files.

exception babelizer.errors.ScanError(message)

Bases: babelizer.errors.BabelizeError

Raised if babelizer configuration file is incorrectly formatted.

exception babelizer.errors.SetupPyError(message)

Bases: babelizer.errors.BabelizeError

Raised if the babelized package cannot be built through setup.py.

exception babelizer.errors.ValidationError(message)

Bases: babelizer.errors.BabelizeError

Raised if babelizer configuration data are incorrectly formatted.