expectErr abstract method
Unwraps a result, yielding the content of an Err
.
Throws an Exception
if the value is an Ok
, with the passed message.
Implementation
E expectErr(String msg);
Unwraps a result, yielding the content of an Err
.
Throws an Exception
if the value is an Ok
, with the passed message.
E expectErr(String msg);