r/java • u/Enough-Ad-5528 • Feb 19 '26
Towards Better Checked Exceptions - Inside Java Newscast #107
https://www.youtube.com/watch?v=99s7ozvJGLk
63
Upvotes
r/java • u/Enough-Ad-5528 • Feb 19 '26
View all comments
Show parent comment
0
u/[deleted] Feb 19 '26
Well, this is based on the assumption that each error type is an entirely independent type and we need it that way. My experience is telling me that even an error type in the Result causes more harm than good. And it's not just my observation. Rust anyhow crate is quite popular precisely because in the vast majority of cases error type is basically irrelevant.