(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed — Notification method for a failed command
$event
): voidIf the subscriber has been registered, the driver will call this method when a command has failed.
event
(MongoDB\Driver\Monitoring\CommandFailedEvent)An event object encapsulating information about the failed command.
Aucune valeur n'est retournée.