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
FormulaErrorinstead.get_formula_error()can be used to get the original errors. You can change the behaviour by passingFalseto this function, so that the original errors are raised. If no argument is given, returns the current setting.