(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError — Returns the Exception associated with the failed heartbeat
This function has no parameters.
Returns the Exception associated with the failed heartbeat.