-
Piotr Gawron authoredPiotr Gawron authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
SecurityError.js 388 B
"use strict";
/* exported logger */
var logger = require('./logger');
/**
*
* @param {string} message
* @constructor
* @extends Error
*/
function SecurityError(message) {
this.message = message;
this.stack = (new Error()).stack;
}
SecurityError.prototype = Object.create(Error.prototype);
SecurityError.prototype.constructor = SecurityError;
module.exports = SecurityError;