MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError

(mongodb >=1.13.0)

MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getErrorReturns the Exception associated with the failed heartbeat

Description

final public MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError(): Exception

Parameters

This function has no parameters.

Return Values

Returns the Exception associated with the failed heartbeat.

Errors/Exceptions

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top