Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mongodb/node-mongodb-native
/ onError
Method
onError
src/cmap/connection.ts:317–319 ·
view source on GitHub ↗
(error: Error)
Source
from the content-addressed store, hash-verified
315
}
316
317
public onError(error: Error) {
318
this.cleanup(error);
319
}
320
321
private onClose() {
322
const
message = `connection ${this.id} to ${this.address} closed`;
Callers
6
onSocketError
Method · 0.95
onTransformError
Method · 0.95
writeCommand
Method · 0.95
readMany
Method · 0.95
interruptInUseConnections
Method · 0.80
closeCheckedOutConnections
Method · 0.80
Calls
1
cleanup
Method · 0.95
Tested by
no test coverage detected