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