MongoResultException
PHP Manual

MongoResultException::getDocument

(PECL mongo >=1.3.0)

MongoResultException::getDocumentRetrieve the full result document

Description

public array MongoResultException::getDocument ( void )

Retrieves the full error result document.

Parameters

This function has no parameters.

Return Values

The full result document as an array, including partial data if available and additional keys.


MongoResultException
PHP Manual