MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / onError

Function onError

examples/remix/app/entry.server.tsx:76–84  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

74 reject(error);
75 },
76 onError(error: unknown) {
77 responseStatusCode = 500;
78 // Log streaming rendering errors from inside the shell. Don't log
79 // errors encountered during initial shell rendering since they'll
80 // reject and get logged in handleDocumentRequest.
81 if (shellRendered) {
82 console.error(error);
83 }
84 },
85 }
86 );
87

Callers 1

usePipeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected