Exceptions raised by booleano.
Bases: booleano.exc.InvalidOperationError
Exception raised when a function is called with wrong parameters.
Bases: booleano.exc.ParsingException
Exception raised when a expression is not a valid boolean expression.
Bases: booleano.exc.BadOperandError
Exception raised when a function is defined incorrectly.
Because it’s aimed at developers, its message doesn’t have to be translatable.
Bases: booleano.exc.BooleanoException
Exception raised when an operand is defined incorrectly.
Because it’s aimed at developers, its message doesn’t have to be translatable.
Bases: exceptions.Exception
Base class for the exceptions.
It is never raised directly, but you can use it to handle any kind of exception raised by Booleano.
Bases: booleano.exc.BooleanoException
Exception raised when trying to convert a parse tree, but an invalid node was passed.
Bases: booleano.exc.ParsingException
Exception raised when a grammar is defined incorrectly, or an attempt is made to use it incorrectly.
Bases: booleano.exc.BooleanoException
Exception raised when trying to apply an operation on an operand that doesn’t support it.
This exception must only be used for static errors in the expressions, not runtime errors.
For example: "word" > 10.
Bases: booleano.exc.BooleanoException
Base class for exceptions raised when parsing goes wrong.
It is never raised directly, but you can use it to handle any kind of exception raised by the parser.
Bases: booleano.exc.ParsingException
Exception raised when a scope-related item is defined incorrectly.