Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WriteConcernError

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

Hierarchy

  • WriteConcernError

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

err

Accessors

code

  • get code(): undefined | number

errmsg

  • get errmsg(): string

Methods

toJSON

  • toJSON(): { code?: number; errmsg: string }
  • Returns { code?: number; errmsg: string }

    • Optional code?: number
    • errmsg: string

toString

  • toString(): string

Generated using TypeDoc