(mongodb >=1.13.0)
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError — Returns the Exception associated with the failed heartbeat
此函数没有参数。
Returns the Exception associated with the failed heartbeat.