MCPcopy Create free account
hub / github.com/LucklySpace/Lucky-client / wrap

Method wrap

src/utils/ExceptionHandler.ts:154–166  ·  view source on GitHub ↗

* 包装函数,自动处理异常 * @param fn 原始函数 * @param contextOrOperation 上下文或操作名称

(
        fn: T,
        contextOrOperation?: ErrorContext | string
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

safeMethod · 0.95

Calls 1

executeMethod · 0.95

Tested by

no test coverage detected