MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / processErr

Method processErr

internal/utils/dbs/batch.go:182–192  ·  view source on GitHub ↗
(prefix string, err error)

Source from the content-addressed store, hash-verified

180}
181
182func (this *Batch) processErr(prefix string, err error) {
183 if err == nil {
184 return
185 }
186
187 if this.onFail != nil {
188 this.onFail(err)
189 } else {
190 remotelogs.Error("SQLITE_BATCH", prefix+": "+err.Error())
191 }
192}

Callers 2

ExecMethod · 0.95
beginTxMethod · 0.95

Calls 2

ErrorFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected