MongoDB\Driver\Monitoring\CommandFailedEvent::getError
PHP Manual
PHP Manual»MongoDB\Driver\Monitoring\CommandFailedEvent»MongoDB\Driver\Monitoring\CommandFailedEvent::getError

MongoDB\Driver\Monitoring\CommandFailedEvent::getError

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandFailedEvent::getErrorReturns the Exception associated with the failed command

Опис

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

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the Exception associated with the failed command.

Помилки/виключення

Прогляньте також

To Top