conatus.expert.EquationSyntaxError

exception conatus.expert.EquationSyntaxError(message='', *, text=None, position=None, **kw)[source]

Bases: EquationError

A string equation does not follow the declared grammar (conatus.ir.parse.GRAMMAR) or names something that is not in its declared namespace. text and position (0-based character offset) locate the problem; the message shows the text with a caret.

Parameters:
  • message (str)

  • text (str | None)

  • position (int | None)

Return type:

None

doc = 'docs/site/guide/errors.md#equationsyntaxerror'