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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user