Code coverage report for istanbul/lib/util/input-error.js

Statements: 100% (4 / 4)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (4 / 4)     

All files » istanbul/lib/util/ » input-error.js
1 /*
2 Copyright (c) 2012, Yahoo! Inc. All rights reserved.
3 Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
4 */
5
6 1 module.exports.create = function (message) {
7 1 var err = new Error(message);
8 1 err.inputError = true;
9 1 return err;
10 };
11
12
13