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)      Ignored: none     

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