Go2ErrorHandlingFeedback

Eli Bendersky edited this page Sep 14, 2018 · 82 revisions

Go 2 Error Handling Feedback

This page is meant to collect and organize feedback about the Go 2 error handling draft design.

Please post feedback on your blog, Medium, GitHub Gists, mailing lists, Google Docs, etc. And then please link it here.

Please help categorize the rest of the uncategorized proposals at the bottom.

In support

This includes supporting the existing chaining/stacking of handlers without changes.

Example code

Code changed to use the existing proposal.

Against

Critiques without counter-proposals

Counter-proposals

Error handling with normal functions

Labeled error handlers

Inlining

Just remove chaining/stacking

Use defer

try/catch/finally syntax

Other

Uncategorized

Please help categorize the rest of the proposals here.

Adding Your Feedback

Please format all entries as below.

  • Your Name, “Title”, month year

To make it easier to see new feedback, please add your new proposal to the top of the section it is placed in.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.