Class: MongoParseError

MongoParseError

An error used when attempting to parse a value (like a connection string)

new MongoParseError(message)

Name Type Description
message Error | string | object

The error message

Properties:
Name Type Description
message string

The error message

Extends

Members

errmsg

Legacy name for server error responses

Methods

inherited 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