Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ isRustPanic
Function
isRustPanic
packages/internals/src/panic.ts:17–19 ·
view source on GitHub ↗
(e: Error)
Source
from the content-addressed store, hash-verified
15
}
16
17
export
function
isRustPanic(e: Error): e is RustPanic {
18
return
(e as RustPanic).__typename ===
'RustPanic'
19
}
20
21
export
enum ErrorArea {
22
LIFT_CLI =
'LIFT_CLI'
,
Callers
4
main
Function · 0.90
artificial-panic.test.ts
File · 0.90
getConfig.test.ts
File · 0.85
validate.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected