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