UNPKG
@gmencz/faunadb
Version:
latest (3.0.0)
3.0.0
2.0.0
1.4.0
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
TypeScript-first FaunaDB client with static type inference
github.com/gmencz/faunadb
gmencz/faunadb
@gmencz/faunadb
/
src
/
lib
/
errors.ts
17 lines
(15 loc)
•
300 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 };