Class CommandFailedEvent

An event indicating the failure of a given command

Hierarchy

  • CommandFailedEvent

Properties

address: string
commandName: string
connectionId?: string | number

Driver generated connection id

duration: number
failure: Error
requestId: number
serverConnectionId: null | bigint

Server generated connection id Distinct from the connection id and is returned by the hello or legacy hello response as "connectionId" from the server on 4.2+.

serviceId?: ObjectId

Accessors

Generated using TypeDoc