unwrapErr method

  1. @override
F unwrapErr()
override

Returns the err value if Result is Err. Throws a Panic if the Result is Ok.

Implementation

@override
F unwrapErr() {
  throw Panic("Called `unwrapErr` on an `$runtimeType` of `$ok`.");
}