modelx.handle_formula_error#
- handle_formula_error(handle=None)[source]#
Specifies whether to raise FormulaError
If
Trueis given tohandle, modelx does not raise FormulaError, but instead output the error message to stderr. IfFalseis given tohandle, modelx raises FormulaError, which is the default behaviour.If no
handleis given, i.e.handleisNone, just returns, the current setting.- Parameters:
handle (
bool, optional) – Whether to handle FormulaError
Added in version 0.22.0.