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

Function NewStoreError

pkg/memory/logic/store.go:113–119  ·  view source on GitHub ↗

NewStoreError 创建新的存储错误

(code, message string, err error)

Source from the content-addressed store, hash-verified

111
112// NewStoreError 创建新的存储错误
113func NewStoreError(code, message string, err error) *StoreError {
114 return &StoreError{
115 Code: code,
116 Message: message,
117 Err: err,
118 }
119}

Callers 14

SaveMethod · 0.85
ListMethod · 0.85
IncrementAccessCountMethod · 0.85
GetStatsMethod · 0.85
PruneMethod · 0.85
scanMemoryMethod · 0.85
scanMemoryFromRowsMethod · 0.85
SaveMethod · 0.85
ListMethod · 0.85
IncrementAccessCountMethod · 0.85
GetStatsMethod · 0.85
PruneMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected