Files
pyrofetes-frontend/node_modules/@sigstore/tuf/dist/error.js
T
2026-05-26 11:58:39 +02:00

15 lines
359 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TUFError = void 0;
class TUFError extends Error {
code;
cause;
constructor({ code, message, cause, }) {
super(message);
this.code = code;
this.cause = cause;
this.name = this.constructor.name;
}
}
exports.TUFError = TUFError;