roseau.load_flow.exceptions

This module contains the exceptions used by Roseau Load Flow.

Exceptions

RoseauLoadFlowException

Base exception for Roseau Load Flow.

Classes

RoseauLoadFlowExceptionCode

Error codes used by Roseau Load Flow.

Module Contents

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.

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

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