(PECL mongo >= 1.5.0)
Get the error document
public array MongoWriteConcernException::getDocument ( void )
Returns the actual response from the server that was interperated as an error.
Returns:
A MongoDB document, if available, as an array.
Please login to continue.