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

finalclassMongoDB\Driver\Monitoring\CommandFailedEvent {
finalpublicgetCommandName(): string
finalpublicgetDurationMicros(): int
finalpublicgetError(): Exception
finalpublicgetOperationId(): string
finalpublicgetReply(): object
finalpublicgetRequestId(): string
}

Table of Contents

To Top