mirror of
https://github.com/thangisme/notes.git
synced 2026-08-01 06:00:31 -04:00
Initial commit
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
/* @flow */
|
||||
"use strict"
|
||||
|
||||
/**
|
||||
* Create configurationError from text and set CLI exit code
|
||||
*/
|
||||
module.exports = function (text/*: string */)/* Object */ {
|
||||
const err/*: Object*/ = new Error(text)
|
||||
err.code = 78
|
||||
return err
|
||||
}
|
||||
Reference in New Issue
Block a user