Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
collectionNotFound = collection => {
if (!collection) {
throw new HttpError(404)
}
}
fetchWidget(widgetId).catch(() => {
throw new HttpError(404);
})
}
collectionNotFound = collection => {
if (!collection) {
throw new HttpError(404)
}
}
collectionNotFound = collection => {
if (!collection) {
throw new HttpError(404)
}
}