docs: update error-handling doc to show "Caught error:" prefix in example output

This commit is contained in:
Bob Nystrom
2015-01-03 04:17:36 +00:00
+1 -1
View File
@@ -84,7 +84,7 @@ For example, if you run this program:
It prints:
:::text
Num does not implement method 'badMethod'.
Caught error: Num does not implement method 'badMethod'.
The called fiber can no longer be used, but any other fibers can proceed as usual. When a fiber has been aborted because of a runtime error, you can also get the error from the fiber object. Continuing the above example: