Method | Description | |
---|---|---|
__construct ( string $message = '', integer $code, Exception $previous = null, null $document = null ) | MongoWriteConcernException constructor. | |
getDocument ( ) : array | Get the error document |
public getDocument ( ) : array | ||
return | array | A MongoDB document, if available, as an array. |