Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

So we should also get rid of `.orElseThrow()` (by default a `NoSuchElementException`)?


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: