summaryrefslogtreecommitdiff
path: root/backend/src/types/database.ts
diff options
context:
space:
mode:
authorArne Rief <riearn@proton.me>2025-12-19 20:03:03 +0100
committerArne Rief <riearn@proton.me>2025-12-19 20:03:03 +0100
commit655ec610fcce8dd7748f10772d520bdff4f7c78e (patch)
tree35b79f30d2cb5aea88cf76ce27f480da93cefd32 /backend/src/types/database.ts
Basic setup & login
Diffstat (limited to 'backend/src/types/database.ts')
-rw-r--r--backend/src/types/database.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/src/types/database.ts b/backend/src/types/database.ts
new file mode 100644
index 0000000..fff88a1
--- /dev/null
+++ b/backend/src/types/database.ts
@@ -0,0 +1,7 @@
+export interface PostgresError extends Error {
+ code: string;
+ detail?: string;
+ schema?: string;
+ table?: string;
+ constraint?: string;
+}