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

Descrizione

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

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns the Exception associated with the failed command.

Errori/Eccezioni

To Top