copy method

  1. @override
Err<S, F> copy()
override

Performs a shallow copy of this result.

Implementation

@override
Err<S, F> copy() {
  return Err(err);
}