Skip to content

Exceptions API

wd.di.exceptions.InvalidOperationError

Bases: RuntimeError

Raised when an operation is not valid for the object’s state.

wd.di.exceptions.CircularDecoratorError

Bases: RuntimeError

Raised when a cycle in the decorator chain is detected.

Parameters

chain: The list of decorator callables/classes involved in the cycle, in the order they were traversed.