-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finalize error handling. #105
Comments
My notes are sprawling. Maybe I need to prune them a bit. |
Issue #59 is also related. Do I assert that callbacks are completed? |
bigeasy
pushed a commit
that referenced
this issue
Jun 29, 2013
Move argument extraction to a separate function so that we can call `invoke` directly with arguments, without having to create bogus `callback` arrays. Necessary to create a more robust implementation of exceptions and finalizers. See #111. See #110. See #105. File Raw Min Zip Min/Zip index.js 13417/13.10 4364/04.26 3715/03.63 1612/01.57
bigeasy
pushed a commit
that referenced
this issue
Jun 29, 2013
Propagate finalizers from a completed cadence to the callback given to the `begin` function. This allows fixup finalizers the option of merging the finalizers into the list of finalizers of the calling cadence. See #111. See #110. See #105. File Raw Min Zip Min/Zip index.js 13931/13.60 4632/04.52 3788/03.70 1689/01.65
bigeasy
pushed a commit
that referenced
this issue
Jun 30, 2013
I still need documentation for finalizers, and some finalizer tests, but I've implemented all of the error machinery, decided how it's all going to work. With this commit I've implemented propagation by throwing the `errors` array and returning the first error unmatched by a conditional catch. Closes #117. Closes #116. Closes #115. Closes #105. File Raw Min Zip Min/Zip index.js 15029/14.68 4518/04.41 4299/04.20 1717/01.68
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You have a lot of notes on error handling. There's no more code to write; time to make some decisions and document them.
The text was updated successfully, but these errors were encountered: