Error classes.
Bases: cjklib.exception.ConversionError
An AmbiguousConversionError is raised when a conversion of one entity from one reading to another is ambiguous.
Bases: cjklib.exception.DecompositionError
An AmbiguousDecompositionError is raised when decomposition of a string written in a reading is ambiguous.
Bases: exceptions.Exception
A CompositionError is raised on a general composition exception (e.g. non-reading entities are rejected).
Bases: exceptions.Exception
A ConversionError is raised on a general conversion exception (e.g. no mapping).
Bases: exceptions.Exception
A DecompositionError is raised on a general decomposition exception (e.g. reading string has a bad format).
Bases: cjklib.exception.DecompositionError
An InvalidEntityError is raised when a entity given (e.g. through decomposition) is invalid for the current reading.
Bases: exceptions.Exception
A NoInformationError is raised when the database lacks information for the given lookup value.
Bases: exceptions.Exception
An UnsupportedError is raised when the given option is not supported.