22 lines
523 B
PHP
22 lines
523 B
PHP
<?php
|
|
|
|
namespace MongoDB\Driver\Exception;
|
|
|
|
/**
|
|
* Thrown when a command fails
|
|
*
|
|
* @link https://php.net/manual/en/class.mongodb-driver-exception-commandexception.php
|
|
* @since 1.5.0
|
|
*/
|
|
class CommandException extends ServerException
|
|
{
|
|
protected $resultDocument;
|
|
|
|
/**
|
|
* Returns the result document for the failed command
|
|
* @link https://secure.php.net/manual/en/mongodb-driver-commandexception.getresultdocument.php
|
|
* @since 1.5.0
|
|
*/
|
|
final public function getResultDocument(): object {}
|
|
}
|