Longhorn PHP 2023 - Call for Papers

The MongoDB\Driver\WriteConcernError class

(mongodb >=1.0.0)


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

Class synopsis

final class MongoDB\Driver\WriteConcernError {
/* Methods */
final public getCode(): int
final public getInfo(): ?object
final public getMessage(): string

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top