Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
InvalidCredentialsError.js 503 B
"use strict";

/* exported logger */

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

var SecurityError = require("./SecurityError");

/**
 *
 * @param {string} message
 * @constructor
 * @extends SecurityError
 */
function InvalidCredentialsError(message) {
  this.message = message;
  this.stack = (new Error()).stack;
}

InvalidCredentialsError.prototype = Object.create(SecurityError.prototype);
InvalidCredentialsError.prototype.constructor = InvalidCredentialsError;

module.exports = InvalidCredentialsError;