MongoDB\Driver\Monitoring\CommandFailedEvent::getError

(mongodb >=1.3.0)

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

Descripción

finalpublicMongoDB\Driver\Monitoring\CommandFailedEvent::getError(): Exception

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Returns the Exception associated with the failed command.

Errores/Excepciones

To Top