This module contains the exceptions used by Roseau Load Flow.

Module Contents#



Error codes used by Roseau Load Flow.

class RoseauLoadFlowExceptionCode#

Bases: roseau.load_flow._compat.StrEnum

Error codes used by Roseau Load Flow.

Initialize self. See help(type(self)) for accurate signature.

exception RoseauLoadFlowException(msg: str, code: RoseauLoadFlowExceptionCode, *args: object)#

Bases: Exception

Base exception for Roseau Load Flow.

Constructor of RoseauLoadFlowException.

  • msg – A text description that provides the reason of the exception and potential solution.

  • code – The code that identifies the reason of the exception.