Hacker News new | ask | show | jobs
by vault 1372 days ago
So we should also get rid of `.orElseThrow()` (by default a `NoSuchElementException`)?
1 comments

If it was .orElseReturn404 then yeah. My point is HTTP codes have no place outside of HTTP endpoints