Python API: Conversion: errors
tina_mgr.convert.formats.f_base.FormatError
dataclass
tina_mgr.convert.formats.f_base.DeserializationError
dataclass
Bases: FormatError
An error that occurred while deserializing some data.
Source code in python/src/tina_mgr/convert/formats/f_base.py
err: Exception
instance-attribute
The deserialization error that occurred.
tina_mgr.convert.formats.f_base.NoFormatVersionError
dataclass
Bases: FormatError
The serialized database does not declare its format version.
Source code in python/src/tina_mgr/convert/formats/f_base.py
tina_mgr.convert.formats.f_base.UnsupportedFormatVersionError
dataclass
Bases: FormatError
The serialized database specifies an invalid format version.
Source code in python/src/tina_mgr/convert/formats/f_base.py
major: int
instance-attribute
The major version number.
minor: int
instance-attribute
The minor version number.
tina_mgr.convert.formats.f_base.NoTinaError
dataclass
Bases: FormatError
The serialized database does not contain a 'tina' element.
Source code in python/src/tina_mgr/convert/formats/f_base.py
tina_mgr.convert.formats.f_base.NoTinaListError
dataclass
Bases: FormatError
The 'tina' element is of some weird type.
Source code in python/src/tina_mgr/convert/formats/f_base.py
tina_mgr.convert.formats.f_base.NoFieldError
dataclass
Bases: FormatError
An item is missing a required field.
Source code in python/src/tina_mgr/convert/formats/f_base.py
name: str
instance-attribute
The name of the missing field.
tina_mgr.convert.formats.f_base.InvalidTypeFieldError
dataclass
Bases: FormatError
An item has a field of an invalid type.
Source code in python/src/tina_mgr/convert/formats/f_base.py
ftype: type[Any]
instance-attribute
The type of the invalid field.
name: str
instance-attribute
The name of the invalid field.
__str__()
tina_mgr.convert.formats.f_json.JSONDeserializationError
dataclass
Bases: DeserializationError
An error that occurred while deserializing a JSON object.