expectError
Expects that an error occurred during saga processing.
Return
The expecter instance for method chaining.
Expects a specific error with custom assertions.
This method first ensures an error occurred, then applies the provided expectations to the error instance.
Return
The expecter instance for method chaining.
Parameters
E
The type of the expected error.
expected
A lambda function that configures expectations on the error.