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

Function withErrorHandling

packages/api/src/error-handler.ts:582–597  ·  view source on GitHub ↗
(
  handler: (
    req: NextRequest,
    context?: TContext
  ) => Promise<Response> | Response,
  options?: ErrorHandlerOptions
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90
route.tsFile · 0.90

Calls 3

errorHandlerFunction · 0.70
handlerFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…