(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed — Notification method for a failed command
$event
) : voidIf the subscriber has been registered with MongoDB\Driver\Monitoring\addSubscriber(), 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.
Es wird kein Wert zurückgegeben.