The MongoDB\Driver\WriteConcernError class

Introduction

The MongoDB\Driver\WriteConcernError class encapsulates information about a write concern error and may be returned by MongoDB\Driver\WriteResult::getWriteConcernError.

Class synopsis

MongoDB\Driver\WriteConcernError
final class MongoDB\Driver\WriteConcernError {
/* Methods */
final public int getCode()
final public objectnull getInfo()
final public string getMessage()
}
Table of Contents