Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WriteError

An error that occurred during a BulkWrite on the server.

Hierarchy

  • WriteError

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

err

Accessors

code

  • get code(): number

errmsg

  • get errmsg(): undefined | string

index

  • get index(): number

Methods

getOperation

toJSON

  • toJSON(): { code: number; errmsg?: string; index: number; op: Document }

toString

  • toString(): string

Generated using TypeDoc