- 
    Type:
Task
 - 
    Resolution: Done
 - 
    Priority:
Trivial - P5
 - 
    None
 - 
    Affects Version/s: 2.0.1
 - 
    Component/s: Connectivity, Error Handling
 - 
    Environment:Windows, c# driver, replica set
 
- 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
Hey,
I was wondering if I can detect the exact cause of a write failure in a replica set, when the cause is an election process being made. Is there a specific mongodb exception thrown or any other indication I can check?