@sap/xssec
Version:
XS Advanced Container Security API for node.js
22 lines (17 loc) • 665 B
JavaScript
const TokenValidationError = require("./TokenValidationError");
class InvalidIssuerError extends TokenValidationError {
/** @type {Error} Error encountered during parsing */
constructor(token, parseError, message = `Issuer ${token.issuer} was not a valid domain or URL for use with https. Protocol schemes other than https:// are not supported.`) {
super(token, message);
this.name = "InvalidIssuerError";
this.
}
get parseError() {
return this.
}
set parseError(value) {
this.
}
}
module.exports = InvalidIssuerError;