fastoad.io.xml.exceptions module

Exceptions for io.xml module

exception fastoad.io.xml.exceptions.FastXPathEvalError[source]

Bases: fastoad.exceptions.FastError

Raised when some xpath could not be resolved

exception fastoad.io.xml.exceptions.FastXpathTranslatorInconsistentLists[source]

Bases: fastoad.exceptions.FastError

Raised when list of variable names and list of XPaths have not the same length

exception fastoad.io.xml.exceptions.FastXpathTranslatorDuplicates[source]

Bases: fastoad.exceptions.FastError

Raised when list of variable names or list of XPaths have duplicate entries

exception fastoad.io.xml.exceptions.FastXpathTranslatorVariableError(variable)[source]

Bases: fastoad.exceptions.FastError

Raised when a variable does not match any xpath in the translator file.

exception fastoad.io.xml.exceptions.FastXpathTranslatorXPathError(xpath)[source]

Bases: fastoad.exceptions.FastError

Raised when a xpath does not match any variable in the translator file.

exception fastoad.io.xml.exceptions.FastXmlFormatterDuplicateVariableError[source]

Bases: fastoad.exceptions.FastError

Raised a variable is defined more than once in a XML file