MCPcopy
hub / github.com/mongodb/node-mongodb-native / addErrorLabel

Method addErrorLabel

src/error.ts:197–199  ·  view source on GitHub ↗
(label: string)

Source from the content-addressed store, hash-verified

195 }
196
197 addErrorLabel(label: string): void {
198 this.errorLabelSet.add(label);
199 }
200}
201
202/**

Callers 12

error.test.tsFile · 0.80
server.test.tsFile · 0.80
constructorMethod · 0.80
commitTransactionMethod · 0.80
makeTimeoutErrorFunction · 0.80
applyBackpressureLabelsFunction · 0.80
performInitialHandshakeFunction · 0.80
executeHandshakeFunction · 0.80
constructorMethod · 0.80
onHeartbeatFailedFunction · 0.80
handleErrorMethod · 0.80
decorateCommandErrorMethod · 0.80

Calls 1

addMethod · 0.80

Tested by

no test coverage detected