The MongoDB\Driver\WriteConcernError class
(mongodb >=1.0.0)
簡介
The MongoDB\Driver\WriteConcernError class encapsulates information about a write concern error and may be returned by MongoDB\Driver\WriteResult::getWriteConcernError().
類摘要
final
class MongoDB\Driver\WriteConcernError
{
/* 方法 */
}目錄
- MongoDB\Driver\WriteConcernError::getCode — Returns the WriteConcernError's error code
- MongoDB\Driver\WriteConcernError::getInfo — Returns metadata document for the WriteConcernError
- MongoDB\Driver\WriteConcernError::getMessage — Returns the WriteConcernError's error message