This overload exists only as a type-inference aid and is no longer needed.
Use Result.err(Object) with an explicit type witness or a typed variable instead:
Result.<Value, Error>err(error) or Result<Value, Error> r = Result.err(error)
This overload exists only as a type-inference aid and is no longer needed.
Use Result.ok(Object) with an explicit type witness or a typed variable instead:
Result.<Value, Error>ok(value) or Result<Value, Error> r = Result.ok(value)
This overload exists only as a type-inference aid and is no longer needed.
Use Result.err(Object) with an explicit type witness or a typed variable instead:
Result.<Value, Error>err(error) or Result<Value, Error> r = Result.err(error)
This overload exists only as a type-inference aid and is no longer needed.
Use Result.ok(Object) with an explicit type witness or a typed variable instead:
Result.<Value, Error>ok(value) or Result<Value, Error> r = Result.ok(value)