Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/ChatLab/ChatLab
/ errorResponse
Function
errorResponse
packages/http-routes/src/errors.ts:112–120 ·
view source on GitHub ↗
(error: ApiError)
Source
from the content-addressed store, hash-verified
110
}
111
112
export
function
errorResponse(error: ApiError) {
113
return
{
114
success: false as
const
,
115
error: {
116
code: error.code,
117
message: error.message,
118
},
119
}
120
}
Callers
5
requireBearerToken
Function · 0.90
registerRestSessionRoutes
Function · 0.90
registerImportRoutes
Function · 0.90
startInternalServer
Function · 0.90
createServer
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected