SERVER-9804 add numeric code to getLastError error when primary steps down