fix: document Fiber.abort null behavior and add Fiber.try/error docs

Add documentation for Fiber.abort accepting null message without raising an error, and introduce new Fiber.try method and error property for capturing runtime errors from fibers.
This commit is contained in:
aaronduino
2017-09-17 04:38:35 +00:00
parent c332ca35fd
commit 3274b6f0b6
2 changed files with 35 additions and 0 deletions
+2
View File
@@ -144,6 +144,8 @@ to cause your own runtime errors to occur. This can be done by calling the
You must pass in an error message, and it must be a string.
If the provided message is `null`, no runtime error is raised.
## Failures
The last flavor of errors is the highest-level one. All of the above errors