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