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

Function squashError

src/utils.ts:1265–1267  ·  view source on GitHub ↗
(_error: unknown)

Source from the content-addressed store, hash-verified

1263 * ```
1264 */
1265export function squashError(_error: unknown) {
1266 return;
1267}
1268
1269export const randomBytes = (size: number): Promise<Uint8Array> => {
1270 return Promise.resolve(crypto.getRandomValues(new Uint8Array(size)));

Callers 15

hasNextMethod · 0.90
nextMethod · 0.90
tryNextMethod · 0.90
endSessionMethod · 0.90
endSessionsMethod · 0.90
withSessionMethod · 0.90
_constructMethod · 0.90
[Symbol.asyncIterator]Function · 0.90
fetchBatchFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected