Class: WriteError

WriteError

Create a new WriteError instance (INTERNAL TYPE, do not instantiate directly)

Properties:
Name Type Description
code number

Write concern error code.

index number

Write concern error original bulk operation index.

errmsg string

Write concern error message.

Returns:
WriteConcernError instance