Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ isDriverAdapterError
Function
isDriverAdapterError
packages/driver-adapter-utils/src/error.ts:13–15 ·
view source on GitHub ↗
(error: any)
Source
from the content-addressed store, hash-verified
11
}
12
13
export
function
isDriverAdapterError(error: any): error is DriverAdapterError {
14
return
error[
'name'
] ===
'DriverAdapterError'
&& typeof error[
'cause'
] ===
'object'
15
}
Callers
4
rethrowAsUserFacing
Function · 0.90
rethrowAsUserFacingRawError
Function · 0.90
wrapAsync
Function · 0.90
wrapSync
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected