UNPKG

@gmencz/faunadb

Version:

TypeScript-first FaunaDB client with static type inference

17 lines (15 loc) 300 B
class QueryError extends Error { constructor( public code: string, public description: string, public rawErrors: { code: string; description: string; position: string[]; }[] ) { super(description); this.name = 'QueryError'; } } export { QueryError };