expectErr abstract method

F expectErr(
  1. String message
)

Returns the err value if Result is Err. Throws a Panic if the Result is Ok, with the provided message.

Implementation

F expectErr(String message);