import { QueryResponse } from '../client.types' ; export class QueryError extends Error { response : QueryResponse ; constructor ( message , response ) { super ( message ) ; Object . setPrototypeOf ( this , QueryError . prototype ) ; this . name = 'QueryError' ; this . response = response ; } }