MCPcopy Create free account
hub / github.com/astercloud/aster / getErrorHandlingStrategy

Function getErrorHandlingStrategy

ui/src/protocol/errors.ts:269–271  ·  view source on GitHub ↗
(code: ErrorCode)

Source from the content-addressed store, hash-verified

267 * @returns 处理策略
268 */
269export function getErrorHandlingStrategy(code: ErrorCode): ErrorHandlingAction {
270 return ErrorHandlingStrategy[code] || 'warn_and_skip';
271}
272
273/**
274 * 根据错误处理策略处理错误

Callers 1

handleProtocolErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected