MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / isRecoverableError

Function isRecoverableError

src/utils/errorUtils.ts:99–102  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

97 * Checks if an error is recoverable without a full page reload.
98 */
99export function isRecoverableError(error: Error): boolean {
100 const strategy = getRecoveryStrategy(classifyError(error));
101 return strategy === 'retry' || strategy === 'dismiss';
102}

Callers

nothing calls this directly

Calls 2

getRecoveryStrategyFunction · 0.85
classifyErrorFunction · 0.85

Tested by

no test coverage detected