class QueryParseError extends Error {
  constructor(opts) {
    super(
      opts?.cause instanceof Error ? `Failed to parse arguments for query: ${opts.cause.message}` : `Failed to parse arguments for query`,
      opts
    );
    this.name = "QueryParseError";
  }
}
export {
  QueryParseError
};
//# sourceMappingURL=error.js.map
