MongoWriteConcernException::getDocument

(PECL mongo >= 1.5.0)

MongoWriteConcernException::getDocumentGet the error document

Beschreibung

public MongoWriteConcernException::getDocument ( ) : array

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

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

A MongoDB document, if available, as an array.