UNPKG

el-beeswarm

Version:

<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;

16 lines (12 loc) 281 B
'use strict'; /** * Create configurationError from text and set CLI exit code * @param {string} text * @returns {Object} */ module.exports = function (text) /* Object */ { /** @type {Error & {code?: number}} */ const err = new Error(text); err.code = 78; return err; };