MCPcopy
hub / github.com/prisma/prisma / serializeBffError

Function serializeBffError

packages/cli/src/Studio.ts:340–342  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

338}
339
340function serializeBffError(error: unknown): SerializedError {
341 return getSerializedBffError(error) ?? serializeError(error)
342}
343
344function getSerializedBffError(error: unknown): SerializedError | null {
345 if (isSerializedError(error)) {

Callers 1

handleStudioBffRequestFunction · 0.85

Calls 1

getSerializedBffErrorFunction · 0.85

Tested by

no test coverage detected