MCPcopy
hub / github.com/HisMax/RedInk / setError

Function setError

frontend/src/composables/useProviderForm.ts:194–199  ·  view source on GitHub ↗
(error: unknown, fallbackTitle = '操作失败')

Source from the content-addressed store, hash-verified

192 }
193
194 function setError(error: unknown, fallbackTitle = '操作失败') {
195 feedback.value = {
196 type: 'error',
197 error: normalizeApiError(error, fallbackTitle)
198 }
199 }
200
201 function clearFeedback() {
202 feedback.value = null

Callers 10

retryAllFailedFunction · 0.85
loadConfigFunction · 0.85
autoSaveConfigFunction · 0.85
saveTextProviderFunction · 0.85
testTextConnectionFunction · 0.85
testTextProviderInListFunction · 0.85
saveImageProviderFunction · 0.85
testImageConnectionFunction · 0.85
testImageProviderInListFunction · 0.85
startGenerationFlowFunction · 0.85

Calls 1

normalizeApiErrorFunction · 0.90

Tested by

no test coverage detected