UNPKG

alinea

Version:
15 lines (13 loc) 385 B
import "../../chunks/chunk-NZLE2WMY.js"; // src/core/source/ShaMismatchError.ts import { HttpError } from "../HttpError.js"; var ShaMismatchError = class extends HttpError { constructor(actual, expected, message = "SHA mismatch") { super(409, `${message}: ${actual} <> ${expected}`); this.actual = actual; this.expected = expected; } }; export { ShaMismatchError };