MongoDB\Driver\Monitoring\ServerHeartbeatFailedEvent::getError

Returns the Exception associated with the failed heartbeat

説明

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

パラメータ

この関数にはパラメータはありません。

戻り値

Returns the Exception associated with the failed heartbeat.

エラー / 例外

  • Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.