7.4.13. xgt.XgtTypeError

exception xgt.XgtTypeError(msg, trace='')

An unexpected type was supplied.

For queries, an invalid data type was used either as an entity or as a property. For frames, either an edge, vertex or table frames was expected but the wrong frame type or some other data type was provided. For properties, the property declaration establishes the expected data type. A type error is raise if the data type used is not appropriate.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.