Exception Hierarchy

Exception class Description Derived from
PyModelDataError exception base class for PyModelData Exception
ParserError reading from a file or file-like object failed PyModelDataError
UnitMismatchError the units in the template file and in the model data file do not match PyModelDataError
OutOfRangeError the value of a property does not fit in the specified range PyModelDataError
AccessError the model data is invalid, i. e. the value of an item isn't a dictionary; non-existent name of a group, item or property (see below) PyModelDataError
InvalidGroupError attempt to access a non-existent group by name AccessError
InvalidItemError attempt to access a non-existent item by name AccessError
InvalidPropertyError attempt to access a non-existent property by name AccessError