modelx.get_traceback

get_traceback()[source]

Returns traceback of exception raised during last formula execution

Returns traceback information if the last formula execution is failed. Otherwise, returns an empty list. The traceback is a list of tuples each of which represents a formula call in the formula failed execution, and contains three elements. The first element is the modelx object, the second in the arguments to the formula as a tuple, and the third is the line number of the formula’s source.