Original title: Allow clients to access failed command response document (e.g. ok:0)
–
Currently, an unsuccessful command results in a cursor failure, which means drivers built atop libmongoc can only access the error code and message. It'd be nice if there was an API to expose the response document from the failed command.