]> ocean-lang.org Git - ocean-D/blobdiff - Ocean-errors
updates
[ocean-D] / Ocean-errors
diff --git a/Ocean-errors b/Ocean-errors
new file mode 100644 (file)
index 0000000..b677b86
--- /dev/null
@@ -0,0 +1,12 @@
+How to handle errors
+
+I want things to be able to throw errors - or fail-safe(?)
+
+ arithmetic can over-flow
+ pointer-dereference probably needs explicit tests
+ arbitrary functions might report an error
+
+ I need an easy syntax for catching and a simple semantic for
+ when they aren't caught.
+
+ I could have an 'else' on any simple statement which does error handling