Exceptions and warnings¶
Exceptions¶
Module for defining exceptions.
- exception pyrigi.exception.LoopError(msg='The graph needs to be loop-free.', *args, **kwargs)[source]¶
Bases:
ValueError
Error raised when a graph is not loop-free.
- Parameters:
msg (str)
Warnings¶
Module for defining warnings.
- exception pyrigi.warning.NumericalAlgorithmWarning(method, msg=None, class_off=None, *args)[source]¶
Bases:
UserWarning
Warning raised when a numerical algorithm is called, whose output cannot be guaranteed to be correct.