Class WriteError

An error that occurred during a BulkWrite on the server.

Hierarchy

  • WriteError

Constructors

Properties

Accessors

Methods

Constructors

Properties

Accessors

  • get errmsg(): undefined | string
  • WriteError message.

    Returns undefined | string

  • get index(): number
  • WriteError original bulk operation index.

    Returns number

Methods

  • Returns {
        code: number;
        errmsg?: string;
        index: number;
        op: Document;
    }

    • code: number
    • Optional errmsg?: string
    • index: number
    • op: Document

Generated using TypeDoc