InvalidOperationError

exception InvalidOperationError(operation: str)[source]

Raised when passing an invalid operation.

Instantiate the exception.