MongoDB\Driver\Monitoring\CommandFailedEvent::getError
(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandFailedEvent::getError — Returns the Exception associated with the failed command
Beschreibung
final public Exception MongoDB\Driver\Monitoring\CommandFailedEvent::getError
(
void
)
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
Returns the Exception associated with the failed command.
Fehler/Exceptions
- Throws MongoDB\Driver\InvalidArgumentException on argument parsing errors.