flowa
Version:
Service level control flow for Node.js
30 lines (23 loc) • 482 B
JavaScript
/**
* Throw exceptions by using callbacks with one task
*
* @author Mohammad Fares <faressoft.com@gmail.com>
*/
/**
* Hints for the testing suites
* @type {Object}
*/
module.exports.hints = {};
/**
* The error object
* @type {Object}
*/
module.exports.hints.error = new Error('Something wrong !!!');
/**
* The flow sample
* @type {Object}
*/
module.exports.flow = {
type: 'serial',
task1: generators.generateDummyErroredTask(module.exports.hints.error)
};