Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configurationError.js 281B

123456789101112131415
  1. 'use strict';
  2. /**
  3. * Create configurationError from text and set CLI exit code
  4. * @param {string} text
  5. * @returns {Object}
  6. */
  7. module.exports = function (text) /* Object */ {
  8. /** @type {Error & {code?: number}} */
  9. const err = new Error(text);
  10. err.code = 78;
  11. return err;
  12. };