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

Function throw

src/cmap/wire_protocol/on_data.ts:83–86  ·  view source on GitHub ↗
(err: Error)

Source from the content-addressed store, hash-verified

81 },
82
83 throw(err: Error) {
84 errorHandler(err);
85 return Promise.resolve({ value: undefined, done: true });
86 },
87
88 [Symbol.asyncIterator]() {
89 return this;

Callers

nothing calls this directly

Calls 1

errorHandlerFunction · 0.85

Tested by

no test coverage detected