MCPcopy Create free account
hub / github.com/experdot/pointer / handleStoreError

Function handleStoreError

src/renderer/src/stores/persistence/storeConfig.ts:546–548  ·  view source on GitHub ↗
(storeName: string, action: string, error: any)

Source from the content-addressed store, hash-verified

544
545// 通用的错误处理
546export const handleStoreError = (storeName: string, action: string, error: any) => {
547 console.error(`Error in ${storeName} store - ${action}:`, error)
548}
549
550// 通用的状态初始化
551export const initializeStoreState = async <T>(

Callers 10

pagesStore.tsFile · 0.90
aiTasksStore.tsFile · 0.90
uiStore.tsFile · 0.90
tabsStore.tsFile · 0.90
crosstabStore.tsFile · 0.90
objectStore.tsFile · 0.90
favoritesStore.tsFile · 0.90
settingsStore.tsFile · 0.90
searchStore.tsFile · 0.90
messagesStore.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected