]> ocean-lang.org Git - ocean-D/blob - Ocean-errors
updates
[ocean-D] / Ocean-errors
1 How to handle errors
2
3 I want things to be able to throw errors - or fail-safe(?)
4
5  arithmetic can over-flow
6  pointer-dereference probably needs explicit tests
7  arbitrary functions might report an error
8
9  I need an easy syntax for catching and a simple semantic for
10  when they aren't caught.
11
12  I could have an 'else' on any simple statement which does error handling