MongoNetworkTimeoutError | mongodb (original) (raw)

Hierarchy (view full)

Index

Constructors

constructor

Properties

Optionalcause

cause?: Error

Optionalcode

code?: string | number

OptionalconnectionGeneration

connectionGeneration?: number

message

message: string

Optionalstack

stack?: string

OptionaltopologyVersion

Static OptionalprepareStackTrace

prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

StaticstackTraceLimit

stackTraceLimit: number

Accessors

errmsg

errorLabels

name

Methods

addErrorLabel

hasErrorLabel

returns true if the error has the provided error label

StaticcaptureStackTrace

Returns void