The MongoDB\Driver\Monitoring\CommandFailedEvent class

Introduction

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

Class synopsis

MongoDB\Driver\Monitoring\CommandFailedEvent
final class MongoDB\Driver\Monitoring\CommandFailedEvent {
/* Methods */
final public string getCommandName()
final public string getDatabaseName()
final public int getDurationMicros()
final public Exception getError()
final public string getHost()
final public string getOperationId()
final public int getPort()
final public object getReply()
final public string getRequestId()
final public MongoDB\Driver\Server getServer()
final public intnull getServerConnectionId()
final public MongoDB\BSON\ObjectIdnull getServiceId()
}
Table of Contents