Exceptions from aGrUM
Exception in pyAgrum
Section titled “Exception in pyAgrum”All the exception classes inherit pyagrum.GumException’s functions.
exception pyagrum.GumException(*args)
Section titled “exception pyagrum.GumException(*args)”add_note(note,)
Section titled “add_note(note,)”Add a note to the exception
errorCallStack()
Section titled “errorCallStack()”- Returns: the error call stack
- Return type: str
errorContent()
Section titled “errorContent()”- Returns: the error content
- Return type: str
errorType()
Section titled “errorType()”- Returns: the error type
- Return type: str
what()
Section titled “what()”- Returns: the error message
- Return type: str
with_traceback(tb,)
Section titled “with_traceback(tb,)”Set self._traceback_ to tb and return self.
List of pyAgrum’s exceptions
Section titled “List of pyAgrum’s exceptions”exception pyagrum.DefaultInLabel(*args)
Section titled “exception pyagrum.DefaultInLabel(*args)”exception pyagrum.DuplicateElement(*args)
Section titled “exception pyagrum.DuplicateElement(*args)”exception pyagrum.DuplicateLabel(*args)
Section titled “exception pyagrum.DuplicateLabel(*args)”exception pyagrum.FatalError(*args)
Section titled “exception pyagrum.FatalError(*args)”exception pyagrum.FormatNotFound(*args)
Section titled “exception pyagrum.FormatNotFound(*args)”exception pyagrum.GraphError(*args)
Section titled “exception pyagrum.GraphError(*args)”exception pyagrum.IOError(*args)
Section titled “exception pyagrum.IOError(*args)”exception pyagrum.InvalidArc(*args)
Section titled “exception pyagrum.InvalidArc(*args)”exception pyagrum.InvalidArgument(*args)
Section titled “exception pyagrum.InvalidArgument(*args)”exception pyagrum.InvalidArgumentsNumber(*args)
Section titled “exception pyagrum.InvalidArgumentsNumber(*args)”exception pyagrum.InvalidDirectedCycle(*args)
Section titled “exception pyagrum.InvalidDirectedCycle(*args)”exception pyagrum.InvalidEdge(*args)
Section titled “exception pyagrum.InvalidEdge(*args)”exception pyagrum.InvalidNode(*args)
Section titled “exception pyagrum.InvalidNode(*args)”exception pyagrum.NoChild(*args)
Section titled “exception pyagrum.NoChild(*args)”exception pyagrum.NoNeighbour(*args)
Section titled “exception pyagrum.NoNeighbour(*args)”exception pyagrum.NoParent(*args)
Section titled “exception pyagrum.NoParent(*args)”exception pyagrum.NotFound(*args)
Section titled “exception pyagrum.NotFound(*args)”exception pyagrum.NullElement(*args)
Section titled “exception pyagrum.NullElement(*args)”exception pyagrum.OperationNotAllowed(*args)
Section titled “exception pyagrum.OperationNotAllowed(*args)”exception pyagrum.OutOfBounds(*args)
Section titled “exception pyagrum.OutOfBounds(*args)”exception pyagrum.ArgumentError(*args)
Section titled “exception pyagrum.ArgumentError(*args)”exception pyagrum.SizeError(*args)
Section titled “exception pyagrum.SizeError(*args)”exception pyagrum.SyntaxError(*args)
Section titled “exception pyagrum.SyntaxError(*args)”- Returns: the indice of the colonne of the error
- Return type: int
filename()
Section titled “filename()”- Return type:
str
line()
Section titled “line()”- Returns: the indice of the line of the error
- Return type: int