MCPcopy
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
8export function Err<E>(error: E): Result<never, E> {
9 return { success: false, error };
10}

Callers 15

startLoopbackServerFunction · 0.90
writeMethod · 0.90
deleteMethod · 0.90
registerMethod · 0.90
waitForMethod · 0.90
cancelMethod · 0.90
shutdownAllMethod · 0.90
stageWorkspaceAttachmentFunction · 0.90

Calls

no outgoing calls

Tested by 5

setGoalFunction · 0.72
createAIServiceMocksFunction · 0.72