Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MoonshotAI/kimi-code
/ makeThrower
Function
makeThrower
packages/agent-core/test/di/lifecycle.test.ts:36–42 ·
view source on GitHub ↗
(message: string)
Source
from the content-addressed store, hash-verified
34
}
35
36
function
makeThrower(message: string): IDisposable {
37
return
{
38
dispose() {
39
throw
new
Error(message);
40
},
41
};
42
}
43
44
function
captureThrown(fn: () => void): unknown {
45
try {
Callers
1
lifecycle.test.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected