incr: improve db call error handling

This commit is contained in:
18alantom
2022-05-23 16:18:23 +05:30
parent 969ec5d7cd
commit ca5514417e
5 changed files with 90 additions and 106 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
export interface DatabaseResponse {
error: string;
data?: unknown;
error?: { message: string; name: string; stack?: string };
}