In driver 2.x
Invoked a getLastError command on a same connection on which the previous operation was invoked, but could fail if the connection had been "stolen" by another operation..
In driver 3.x
Writes with WriteConcern stronger than WriteConcern.UNACKNOWLEDGED throws MongoException.
That's why to keep compatibility - deprecate WriteResult.getLastError