MCPcopy Create free account
hub / github.com/BabylonSocial/babylon / errorHandler

Function errorHandler

packages/api/src/error-handler.ts:142–473  ·  view source on GitHub ↗
(
  error: Error | unknown,
  request: NextRequest,
  options?: ErrorHandlerOptions
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

withErrorHandlingFunction · 0.70
asyncHandlerFunction · 0.70

Calls 10

isAuthenticationErrorFunction · 0.90
sanitizeHeadersFunction · 0.85
serializeErrorCauseFunction · 0.85
sanitizeErrorContextFunction · 0.85
handleDatabaseErrorFunction · 0.85
warnMethod · 0.80
mapMethod · 0.80
getMethod · 0.65
errorMethod · 0.45
jsonMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…