MongoWriteConcernException::getDocument

Get the error document

Beschreibung

public array MongoWriteConcernException::getDocument ( void )

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

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

A MongoDB document, if available, as an array.