@investorid/identity-sdk
Version:
Interact with BlockChain Identities.
16 lines • 566 B
JavaScript
;
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