|
|
|
|
|
by int_19h
3290 days ago
|
|
There is a valid argument about whether exceptions are the best way to signal errors or not. But most modern alternatives are some form of capturing errors directly in the type system, so that return types can carry error information (option or error types etc), and so that callers are forced to check for errors. |
|
I will say that there is some good post compiler tooling around making sure that error handling isn't skipped but its definitely a weakness of the language.