Home/
Manual/
monitoring / serverheartbeatfailedevent/ MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError
PHP function
Edit on GitHub ✎
(mongodb >=1.13.0)
Returns the Exception associated with the failed heartbeat
Description
MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError(): Exception
Parameters Parameters
Return Values
Returns the Exception associated with the failed heartbeat.