Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodeSolidServer/node-solid-server
/ handler
Function
handler
test/integration/errors-test.mjs:23–28 ·
view source on GitHub ↗
(res)
Source
from the content-addressed store, hash-verified
21
22
function
defaultErrorPage (filepath, expected) {
23
const
handler =
function
(res) {
24
const
errorFile = read(filepath)
25
if
(res.text === errorFile && !expected) {
26
console.log(
'Not default text'
)
27
}
28
}
29
return
handler
30
}
31
Callers
nothing calls this directly
Calls
1
read
Function · 0.90
Tested by
no test coverage detected