UNPKG

@investorid/identity-sdk

Version:
16 lines 566 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Thrown when an invalid address is given */ class UnsecuredURIError extends Error { constructor({ message = 'URI is not secured. Allow unsecured endpoints by updated SDK configration.', value } = {}) { super(message); this.name = 'UNSECURED_URI'; this.value = value; this.message = message; Object.setPrototypeOf(this, UnsecuredURIError.prototype); } } exports.UnsecuredURIError = UnsecuredURIError; //# sourceMappingURL=Errors.js.map