3 ms·
Throwing exceptions across API and module boundaries is a separate discussion which has separate pros and cons. When you define an API in a language that has e
by andyjpb 14y ago
Throwing exceptions across API and module boundaries is a separate discussion which has separate pros and cons.
When you define an API in a language that has exceptions you should be careful to define the behaviour around how exceptions are used.
This is similar to how, when you define an API in a language that has threads, you should be careful to define your reentrancy and thread-safety guarantees.