UNPKG

groq-builder

Version:

A **schema-aware**, strongly-typed GROQ query builder. It enables you to build GROQ queries using **auto-completion**, **type-checking**, and **runtime validation**.

15 lines 428 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.QueryError = void 0; /** * An error that is thrown when compiling a query. * This indicates that you've performed an invalid chain. */ class QueryError extends Error { constructor(message, details) { super(message); this.details = details; } } exports.QueryError = QueryError; //# sourceMappingURL=query-error.js.map