3 ms·
> and any of those turtles can throw a completely opaque error message that required very deep knowledge of that particular turtle It seems odd to bring up Jav
by Terr_ 10y ago
> and any of those turtles can throw a completely opaque error message that required very deep knowledge of that particular turtle
It seems odd to bring up Java here, but this is one of the problems solved (not without cost) by checked exceptions.
By making the types of exceptions explicit, each layer is encouraged to reframe (or wrap) the errors from its dependencies in a way which matches its own usage and level of abstraction.