Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/coder/mux
/ Err
Function
Err
src/common/types/result.ts:8–10 ·
view source on GitHub ↗
(error: E)
Source
from the content-addressed store, hash-verified
6
}
7
8
export
function
Err<E>(error: E): Result<never, E> {
9
return
{ success: false, error };
10
}
Callers
15
oauthFlowManager.test.ts
File · 0.90
startLoopbackServer
Function · 0.90
write
Method · 0.90
delete
Method · 0.90
register
Method · 0.90
waitFor
Method · 0.90
cancel
Method · 0.90
shutdownAll
Method · 0.90
stageWorkspaceAttachment
Function · 0.90
readStagedWorkspaceAttachment
Function · 0.90
copyStagedWorkspaceAttachments
Function · 0.90
listStagedAttachmentPaths
Function · 0.90
Calls
no outgoing calls
Tested by
5
setGoal
Function · 0.72
createReplaySessionHarness
Function · 0.72
replayTerminalAuthFailure
Function · 0.72
createAIServiceMocks
Function · 0.72
createWorkspaceServiceMocks
Function · 0.72