This repo includes some workable code samples in conjunction with the StrongLoop article. Generator example requires Node 0.12 or io.js.
Clone the repo and run npm install
. Then run any of the samples by using npm scripts.
npm run promises
- promise based error handlingnpm run generators
- promise-generator based error handlingnpm run async-await
- async/await based error handling