1"use strict"; 2Object.defineProperty(exports, "__esModule", { value: true }); 3exports.TUFError = void 0; 4class TUFError extends Error { 5 constructor({ code, message, cause, }) { 6 super(message); 7 this.code = code; 8 this.cause = cause; 9 this.name = this.constructor.name; 10 } 11} 12exports.TUFError = TUFError; 13