Skip to content

Commit 4a7a642

Browse files
committed
Better error
1 parent e0d9d77 commit 4a7a642

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/data-api-query-compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ function serialize(value: any): Field {
6363
else break;
6464
}
6565

66-
throw "wtf";
66+
throw new Error(`Unsupported type: ${value}`);
6767
}

0 commit comments

Comments
 (0)