Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
vault
· 4y ago · 0 comments
So we should also get rid of `.orElseThrow()` (by default a `NoSuchElementException`)?
Comments
[–]
tcbasche
4y ago
If it was .orElseReturn404 then yeah. My point is HTTP codes have no place outside of HTTP endpoints