(mongodb >=1.3.0)
MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed — Notification method for a failed command
$event
): voidIf the subscriber is registered, this method is called when a command fails.
event
(MongoDB\Driver\Monitoring\CommandFailedEvent)An event object encapsulating information about the failed command.
No devuelve ningún valor.