Files
klz-cables.com/.pnpm-store/v10/files/c9/db8847dd2879b548abb90e1048e4ce61bd7a56b39198d868eceecbabebd34856c40596332f68248f76de6bf3bb55d974400158c9fc0b62ebff8a7785c8e35e
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

8 lines
647 B
Plaintext

import { GraphQLError, versionInfo } from 'graphql';
export function createGraphQLError(message, options) {
if (versionInfo.major >= 17) {
return new GraphQLError(message, options);
}
return new GraphQLError(message, options === null || options === void 0 ? void 0 : options.nodes, options === null || options === void 0 ? void 0 : options.source, options === null || options === void 0 ? void 0 : options.positions, options === null || options === void 0 ? void 0 : options.path, options === null || options === void 0 ? void 0 : options.originalError, options === null || options === void 0 ? void 0 : options.extensions);
}