projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
808b7e340e5132d054436e5c2e61106876e02bd1
[dotfiles/.git]
/
configurationError.js
1
/* @flow */
2
"use strict";
3
4
/**
5
* Create configurationError from text and set CLI exit code
6
*/
7
module.exports = function(text /*: string */) /* Object */ {
8
const err /*: Object*/ = new Error(text);
9
err.code = 78;
10
return err;
11
};