The MongoDB\Driver\Exception\CommandException class
Guide
Edit on GitHub ✎
Thrown when a command fails.
Intro
Thrown when a command fails.
Class synopsis
class MongoDB\Driver\Exception\CommandException { }
Properties
resultDocumentThe result document associated with the failed command.
Changelog
| Version | Description |
|---|---|
| PECL mongodb 2.3.0 | The resultDocument property is now public readonly. |
Commandexception