The MongoDB\Driver\Monitoring\CommandFailedEvent class

(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 ( void ) : string
final public getDurationMicros ( void ) : int
final public getError ( void ) : Exception
final public getOperationId ( void ) : string
final public getReply ( void ) : object
final public getRequestId ( void ) : string
final public getServer ( void ) : MongoDB\Driver\Server
}

Table of Contents