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

finalclassMongoDB\Driver\WriteConcernError {
finalpublicgetCode(): int
finalpublicgetInfo(): ?object
finalpublicgetMessage(): string
}

Table of Contents

To Top