Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/prisma/prisma
/ handlePanic
Function
handlePanic
packages/internals/src/utils/handlePanic.ts:21–27 ·
view source on GitHub ↗
(args: HandlePanic)
Source
from the content-addressed store, hash-verified
19
}
20
21
export
async
function
handlePanic(args: HandlePanic): Promise<void> {
22
if
(!canPrompt()) {
23
throw args.error
24
}
25
26
await
panicDialog(args)
27
}
28
29
type
PanicDialog = HandlePanic
30
Callers
6
handlePanic.test.ts
File · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
internalInit
Method · 0.85
Calls
2
canPrompt
Function · 0.90
panicDialog
Function · 0.85
Tested by
no test coverage detected