MCPcopy
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
17export function isRustPanic(e: Error): e is RustPanic {
18 return (e as RustPanic).__typename === 'RustPanic'
19}
20
21export enum ErrorArea {
22 LIFT_CLI = 'LIFT_CLI',

Callers 4

mainFunction · 0.90
getConfig.test.tsFile · 0.85
validate.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected