A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mongodb.github.io/node-mongodb-native/3.6/api/MongoError.html below:

Class: MongoError

Class: MongoError

Creates a new MongoError

Name Type Description message Error | string | object

The error message

Properties:
Name Type Description message string

The error message

stack string

The error call stack

Extends Members

errmsg

Legacy name for server error responses

Methods

Creates a new MongoError object

Name Type Description options Error | string | object

The options used to create the error.

Deprecated
  • Use `new MongoError()` instead.
    Returns: MongoError instance
    hasErrorLabel(label){boolean}

    Checks the error to see if it has an error label

    Name Type Description label string

    The error label to check for

    Returns: true if the error has the provided error label

    RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4