Class WriteError

An error that occurred during a BulkWrite on the server.

Constructors

Properties

Accessors

Methods

Constructors

Properties

Accessors

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

    Returns undefined | string

Methods

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

    • code: number
    • Optionalerrmsg?: string
    • index: number
    • op: Document