MongoDB\Driver\Monitoring\CommandFailedEvent::getError

(mongodb >=1.3.0)

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

Beschreibung

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

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns the Exception associated with the failed command.

Fehler/Exceptions

  • Throws MongoDB\Driver\InvalidArgumentException on argument parsing errors.
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top