Get the error document


(PECL mongo >= 1.5.0)

MongoWriteConcernException::getDocumentGet the error document

Описание

public array MongoWriteConcernException::getDocument ( void )

Returns the actual response from the server that was interperated as an error.

Список параметров

У этой функции нет параметров.

Возвращаемые значения

A MongoDB document, if available, as an array.