Exceptions from aGrUM

exception pyAgrum.GumException(*args)
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()
Return type

str

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

All the exception classes inherit pyAgrum.GumException’s functions errorType, errorCallStack and errorContent.

exception pyAgrum.DefaultInLabel(*args)
args
property thisown

The membership flag

exception pyAgrum.DuplicateElement(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.DuplicateLabel(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.FatalError(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.FormatNotFound(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.GraphError(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.IOError(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.InvalidArc(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.InvalidArgument(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.InvalidArgumentsNumber(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.InvalidDirectedCycle(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.InvalidEdge(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.InvalidNode(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.NoChild(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.NoNeighbour(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.NoParent(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.NotFound(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.NullElement(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.OperationNotAllowed(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.OutOfBounds(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.ArgumentError(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.SizeError(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.SyntaxError(*args)
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

property thisown

The membership flag

what()
Return type

str

exception pyAgrum.UndefinedElement(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.UndefinedIteratorKey(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.UndefinedIteratorValue(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.UnknownLabelInDatabase(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.DatabaseError(*args)
args
property thisown

The membership flag

what()
Return type

str

exception pyAgrum.CPTError(*args)
args
property thisown

The membership flag

what()
Return type

str