The method simply passes down the error code returned by the MongoDB, but this is in fact an error on my part, since Mongo uses `0` as an error code too. This should be returning `NULL` instead.