Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 488 Bytes

File metadata and controls

11 lines (7 loc) · 488 Bytes

Asychronous error handling in Express

This repo includes some workable code samples in conjunction with the StrongLoop article. Generator example requires Node 0.12 or io.js.

Setup

Clone the repo and run npm install. Then run any of the samples by using npm scripts.

  • npm run promises - promise based error handling
  • npm run generators - promise-generator based error handling
  • npm run async-await - async/await based error handling