MongoWriteConcernException::getDocumentGet the error document Description
public array MongoWriteConcernException::getDocument
( void
)
Returns the actual response from the server that was interperated as an error. ParametersThis function has no parameters. Return ValuesA MongoDB document, if available, as an array. |