Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/KeygraphHQ/shannon
/ err
Function
err
apps/worker/src/types/result.ts:46–48 ·
view source on GitHub ↗
(error: E)
Source
from the content-addressed store, hash-verified
44
* Create an error Result
45
*/
46
export
function
err<E>(error: E): Err<E> {
47
return
{ ok: false, error };
48
}
49
50
/**
51
* Type guard
for
Ok variant
Callers
13
load
Method · 0.85
loadOptional
Method · 0.85
validateQueueSafe
Function · 0.85
verifySavedAuthState
Function · 0.85
classifyResult
Function · 0.85
validateRepo
Function · 0.85
validateConfig
Function · 0.85
validateCodePathsExist
Function · 0.85
classifySdkError
Function · 0.85
validateCredentials
Function · 0.85
validateTargetUrl
Function · 0.85
execute
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected