MongoDB\Driver\Monitoring\CommandFailedEvent::getError
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandFailedEvent::getError — Returns the Exception associated with the failed command
説明
パラメータ
この関数にはパラメータはありません。
返り値
Returns the Exception associated with the failed command.
エラー / 例外
- 引数のパースに失敗した場合に MongoDB\Driver\Exception\InvalidArgumentException をスローします。