« MongoDB\Driver\Monitoring\CommandSubscriber
MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted »

MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed — Notification method for a failed command

説明

abstract public function MongoDB\Driver\Monitoring\CommandSubscriber::commandFailed(MongoDB\Driver\Monitoring\CommandFailedEvent $event): void

If 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.

戻り値

値を返しません。

エラー / 例外

参考

関連キーワード:
MongoDB   Driver   Monitoring   CommandSubscriber   command   event   method   failed   Notification   commandFailed   CommandFailedEvent   subscriber   addSubscriber   Registers   monitoring   Manager   commandStarted   mongodb   abstract   registered   called   fails   encapsulating   information   about
関連する関数・ページ:
mongodb-driver-monitoring-commandsubscriber.commandstarted   mongodb-driver-monitoring-commandsubscriber.commandsucceeded   class.mongodb-driver-monitoring-commandsubscriber   ref.monitoring.functions   mongodb.monitoring   mongodb-driver-monitoring-sdamsubscriber.serverheartbeatfailed