Sha256: 287b3552d20228af302d8337c298229755a89a279c89be1ff1514d7734560cde
Contents?: true
Size: 277 Bytes
Versions: 39
Compression:
Stored size: 277 Bytes
Contents
var utils = require('../utils'); /** * Throw an error with the given `msg`. * * @param {String} msg * @api public */ module.exports = function error(msg){ utils.assertType(msg, 'string', 'msg'); var err = new Error(msg.val); err.fromStylus = true; throw err; };
Version data entries
39 entries across 20 versions & 2 rubygems