Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Examples from the Async Exception Handling proposal
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
app.js
main-exception-catcher.js
main-try-catch.js

README.md

This project contains the examples given in the Async Exception Handling proposal.

Files:

  • app.js - A buggy http request handler that throws on file not found.

  • main-try-catch.js - Run this with present-day node and visit localhost to see your process exit.

  • main-exception-catcher.js - Run this with node compiled from the candidate implementation and visit localhost to see a 500 Internal Server Error and watch your process stay up.

Something went wrong with that request. Please try again.