@prisma/driver-adapter-utils
Advanced tools
Comparing version 5.5.0-dev.60 to 5.5.0-dev.61
@@ -79,6 +79,6 @@ export { debug as Debug } from 'debug'; | ||
type Error = { | ||
kind: 'GenericJsError'; | ||
kind: 'GenericJs'; | ||
id: number; | ||
} | { | ||
kind: 'PostgresError'; | ||
kind: 'Postgres'; | ||
code: string; | ||
@@ -85,0 +85,0 @@ severity: string; |
@@ -105,3 +105,3 @@ "use strict"; | ||
const id = registry.registerNewError(error); | ||
return err({ kind: "GenericJsError", id }); | ||
return err({ kind: "GenericJs", id }); | ||
} | ||
@@ -116,3 +116,3 @@ }; | ||
const id = registry.registerNewError(error); | ||
return err({ kind: "GenericJsError", id }); | ||
return err({ kind: "GenericJs", id }); | ||
} | ||
@@ -119,0 +119,0 @@ }; |
{ | ||
"name": "@prisma/driver-adapter-utils", | ||
"version": "5.5.0-dev.60", | ||
"version": "5.5.0-dev.61", | ||
"description": "Internal set of utilities and types for Prisma's driver adapters.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
17357