The MongoDB\Driver\Exception\CommandException class
(mongodb >= 1.5.0)
Introduction
Thrown when a command fails.
Class synopsis
Properties
- resultDocument
-
The result document associated with the failed command.
Table of Contents
- MongoDB\Driver\Exception\CommandException::getResultDocument — Returns the result document for the failed command