MCPcopy Index your code
hub / github.com/nutsdb/nutsdb / Error

Method Error

batch.go:210–214  ·  view source on GitHub ↗

Error returns any errors encountered so far. No commits would be run once an error is detected.

()

Source from the content-addressed store, hash-verified

208
209// Error returns any errors encountered so far. No commits would be run once an error is detected.
210func (wb *WriteBatch) Error() error {
211 // If the interface conversion fails, the err will be nil.
212 err, _ := wb.err.Load().(error)
213 return err
214}

Calls

no outgoing calls