4 ms·
This sounds exactly like Java's checked exceptions.
by millstone 7y ago
This sounds exactly like Java's checked exceptions.
- Fellshard 7y agoThe two are closely related concepts. You can model checked exceptions as a secondary return type, except without the same first-order representation (e.g. inability to specify checked exceptions in generic terms).