Class WriteConcernError

An error representing a failure by the server to apply the requested write concern to the bulk operation.

Constructors

Accessors

Methods

Constructors

Accessors

  • get code(): undefined | number
  • Write concern error code.

    Returns undefined | number

  • get errmsg(): undefined | string
  • Write concern error message.

    Returns undefined | string

Methods