MongoDB\Driver
PHP Manual

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 int getCode ( void )
final public mixed getInfo ( void )
final public string getMessage ( void )
}

Table of Contents


MongoDB\Driver
PHP Manual