MCPcopy
hub / github.com/andeya/pholcus / Error

Function Error

common/mgo/mgo.go:189–191  ·  view source on GitHub ↗

Error returns the last MongoDB connection error.

()

Source from the content-addressed store, hash-verified

187
188// Error returns the last MongoDB connection error.
189func Error() error {
190 return err
191}
192
193// Call executes fn with a pooled MongoDB connection.
194func Call(fn func(pool.Src) error) result.VoidResult {

Callers 5

flushMethod · 0.92
flushMethod · 0.92
ReadFailureMethod · 0.92
initFunction · 0.92
TestErrorFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestErrorFunction · 0.68