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
MongoDB\Driver\WriteConcernError
{
/* 方法 */
}Table of Contents
- MongoDB\Driver\WriteConcernError::getCode — Returns the WriteConcernError's error code
- MongoDB\Driver\WriteConcernError::getInfo — Returns additional metadata for the WriteConcernError
- MongoDB\Driver\WriteConcernError::getMessage — Returns the WriteConcernError's error message