Hacker News new | past | comments | ask | show | jobs | submit login

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




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: