MongoWriteConcernException::getDocument

Get 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.