Php/docs/class.mongodb-driver-monitoring-commandfailedevent

From Get docs

(mongodb >=1.3.0)

Introduction

The MongoDB\Driver\Monitoring\CommandFailedEvent class encapsulates information about a failed command.


Class synopsis


final MongoDB\Driver\Monitoring\CommandFailedEvent {

/* Methods */

final public getCommandName ( ) : string

final public getDurationMicros ( ) : int

final public getError ( ) : Exception

final public getOperationId ( ) : string

final public getReply ( ) : object

final public getRequestId ( ) : string

final public getServer ( ) : MongoDB\Driver\Server

}

Table of Contents