Exceptions from aGrUM
Exception in pyAgrum
All the exception classes inherit pyagrum.GumException’s functions.
- exception pyagrum.GumException(*args)
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.GumIOError(*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.UndefinedElement(*args)
- exception pyagrum.UndefinedIteratorKey(*args)
- exception pyagrum.UndefinedIteratorValue(*args)
- exception pyagrum.UnknownLabelInDatabase(*args)
- exception pyagrum.DatabaseError(*args)
- exception pyagrum.CPTError(*args)
- exception pyagrum.GumTypeError(*args)
- exception pyagrum.FactoryError(*args)
- exception pyagrum.FactoryInvalidState(*args)
- exception pyagrum.WrongClassElement(*args)
- exception pyagrum.PRMTypeError(*args)
- exception pyagrum.IteratorError(*args)
- exception pyagrum.InvalidPartiallyDirectedCycle(*args)
- exception pyagrum.LearningError(*args)
- exception pyagrum.IncompatibleScorePrior(*args)
- exception pyagrum.NotImplementedYet(*args)
- exception pyagrum.ScheduleMultiDimError(*args)
- exception pyagrum.ScheduleOperationError(*args)
- exception pyagrum.HedgeException(*args)
- exception pyagrum.AbstractScheduleMultiDim(*args)
- exception pyagrum.DuplicateScheduleMultiDim(*args)
- exception pyagrum.IncompatibleEvidence(*args)
- exception pyagrum.PossiblyIncompatibleScorePrior(*args)
- exception pyagrum.UnexecutedScheduleOperation(*args)
- exception pyagrum.UnknownScheduleMultiDim(*args)
- exception pyagrum.UnknownScheduleOperation(*args)
Syntax errors
A syntax error (for instance in a file read by pyAgrum) is raised as the Python builtin SyntaxError,
with the name of the file, the line and the column of the error.
Deprecated names
pyagrum.IOErroris deprecated after 3.2.1: usepyagrum.GumIOError(IOErrorshadowed the Python builtin).pyagrum.SyntaxErroris deprecated after 3.2.1: use the builtinSyntaxError(the classpyagrum.SyntaxErrorwas never raised).