MongoDB\Driver\Monitoring\CommandFailedEvent
PHP Manual

MongoDB\Driver\Monitoring\CommandFailedEvent::getError

(mongodb >=1.3.0)

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

Описание

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

Список параметров

У этой функции нет параметров.

Возвращаемые значения

Returns the Exception associated with the failed command.

Ошибки

Смотрите также


MongoDB\Driver\Monitoring\CommandFailedEvent
PHP Manual