Php/docs/class.mongodb-driver-writeconcernerror
From Get docs
(mongodb >=1.0.0)
Introduction
The MongoDB\Driver\WriteConcernError class encapsulates information about a write concern error and may be returned by MongoDB\Driver\WriteResult::getWriteConcernError().
Class synopsis
final MongoDB\Driver\WriteConcernError {
final public getCode ( ) : int
final public getInfo ( ) : object|null
final public getMessage ( ) : string
}
Table of Contents
- 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
/* Methods */