%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/specpages-backup/node_modules/stylus/lib/functions/
Upload File :
Create Path :
Current File : /www/specpages-backup/node_modules/stylus/lib/functions/error.js

var utils = require('../utils');

/**
 * Throw an error with the given `msg`.
 *
 * @param {String} msg
 * @api public
 */

function error(msg){
  utils.assertType(msg, 'string', 'msg');
  var err = new Error(msg.val);
  err.fromStylus = true;
  throw err;
};
error.params = ['msg'];
module.exports = error;

Zerion Mini Shell 1.0