WriteConcernError
final class WriteConcernError (View source)
The MongoDB\Driver\WriteConcernError class encapsulates information about a write concern error and may be returned by MongoDB\Driver\WriteResult::getWriteConcernError().
Properties
|
string
Since: 2.3.0
|
$message | ||
|
int
Since: 2.3.0
|
$code | ||
|
object|null
Since: 2.3.0
|
$info |
Methods
__wakeup()
No description
int
getCode()
Returns the WriteConcernError's error code
object|null
getInfo()
Returns additional metadata for the WriteConcernError
string
getMessage()
Returns the WriteConcernError's error message
Details
final
__wakeup()
No description
final int
getCode()
Returns the WriteConcernError's error code
final object|null
getInfo()
Returns additional metadata for the WriteConcernError
final string
getMessage()
Returns the WriteConcernError's error message