The MongoDB\Driver\Exception\CommandException class
(mongodb >= 1.5.0)
Introduction
Thrown when a command fails.
Class synopsis
class MongoDB\Driver\Exception\CommandException extends MongoDB\Driver\Exception\ServerException implements MongoDB\Driver\Exception\Exception {
/* Properties */
/* Inherited properties */
/* Methods */
/* Inherited methods */
}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
↑ and ↓ to navigate • Enter to select • Esc to close • / to open