UNPKG

@sap/xssec

Version:

XS Advanced Container Security API for node.js

14 lines (11 loc) 531 B
const TokenValidationError = require("./TokenValidationError"); class InvalidIssuerError extends TokenValidationError { /** @type {Error} Error encountered during parsing */ parseError; 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.parseError = parseError; } } module.exports = InvalidIssuerError;