3 ms·
Okay,so what's a better way to do error handling? Returning an Either<Result, Error> is pretty much the same thing conceptually. Either you propagate the error
by ahtihn 5y ago
Okay,so what's a better way to do error handling?
Returning an Either<Result, Error> is pretty much the same thing conceptually. Either you propagate the error or you handle it.
- dfee 5y agoI'm just suggesting that Checked Exceptions aren't well enough adopted and there's grey area between what constitutes a checked / unchecked exception. I have no problem with Either<Error, Result> though.