Skip to content

benw/async-catch-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Examples from the Async Exception Handling proposal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published