Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mongodb/node-mongodb-native
/ isAggregateError
Function
isAggregateError
src/error.ts:119–121 ·
view source on GitHub ↗
(e: unknown)
Source
from the content-addressed store, hash-verified
117
}
118
119
function
isAggregateError(e: unknown): e is Error & { errors: Error[] } {
120
return
e != null && typeof e ===
'object'
&&
'errors'
in e && Array.isArray(e.errors);
121
}
122
123
/**
124
* @public
Callers
1
buildErrorMessage
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected