The MongoDB\Driver\WriteConcernError class

(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 {
/* Methods */
final public getCode ( void ) : int
final public getInfo ( void ) : object|null
final public getMessage ( void ) : string
}

Table of Contents