Skip to content

Exceptions from aGrUM

All the exception classes inherit pyagrum.GumException’s functions.

Add a note to the exception

  • Returns: the error call stack
  • Return type: str
  • Returns: the error content
  • Return type: str
  • Returns: the error type
  • Return type: str
  • Returns: the error message
  • Return type: str

Set self._traceback_ to tb and return self.

exception pyagrum.InvalidArgumentsNumber(*args)

Section titled “exception pyagrum.InvalidArgumentsNumber(*args)”

exception pyagrum.InvalidDirectedCycle(*args)

Section titled “exception pyagrum.InvalidDirectedCycle(*args)”

exception pyagrum.OperationNotAllowed(*args)

Section titled “exception pyagrum.OperationNotAllowed(*args)”
  • Returns: the indice of the colonne of the error
  • Return type: int
  • Return type: str
  • Returns: the indice of the line of the error
  • Return type: int

exception pyagrum.UndefinedIteratorKey(*args)

Section titled “exception pyagrum.UndefinedIteratorKey(*args)”

exception pyagrum.UndefinedIteratorValue(*args)

Section titled “exception pyagrum.UndefinedIteratorValue(*args)”

exception pyagrum.UnknownLabelInDatabase(*args)

Section titled “exception pyagrum.UnknownLabelInDatabase(*args)”