No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc
.gitignore
article.md
asyncAwait.js
generators.js
package.json
promises.js
readme.md
testUtils.js

readme.md

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