modelx.use_formula_error#

use_formula_error(use=None)[source]#

Specifies whether to replace error raised during formula execution

By default, modelx traps errors raised during formula execution, and raise FormulaError instead. get_formula_error() can be used to get the original errors. You can change the behaviour by passing False to this function, so that the original errors are raised. If no argument is given, returns the current setting.