unwrapErr abstract method

E unwrapErr()

Unwraps a result, yielding the content of an Err.

Throws an exception if the value is an Ok, with a custom message provided by calling toString() on the Ok's value.

Implementation

E unwrapErr();