MongoDB\Driver\Monitoring\CommandFailedEvent::getError

Returns the Exception associated with the failed command

説明

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

パラメータ

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

戻り値

Returns the Exception associated with the failed command.

エラー / 例外

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