Skip to content

Conversation

lforst
Copy link
Contributor

@lforst lforst commented Jul 6, 2023

Resolves #5469

Uses the new exception groups in the product to support AggregateErrors. "Linked errors" aka Error.cause will also use these new exception groups.


new Error("Custom Browser Error!", {
  cause: new AggregateError([
    new Error('A'),
    new Error('B')
  ], 'Woowee')
});

Screenshot 2023-07-06 at 11 30 47

@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.95 KB (+0.74% 🔺)
@sentry/browser - ES5 CDN Bundle (minified) 69.13 KB (+0.85% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 20.28 KB (+0.9% 🔺)
@sentry/browser - ES6 CDN Bundle (minified) 60.38 KB (+0.98% 🔺)
@sentry/browser - Webpack (gzipped + minified) 21.9 KB (+0.88% 🔺)
@sentry/browser - Webpack (minified) 71.51 KB (+0.83% 🔺)
@sentry/react - Webpack (gzipped + minified) 21.92 KB (+0.89% 🔺)
@sentry/nextjs Client - Webpack (gzipped + minified) 50.38 KB (+0.33% 🔺)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 29.92 KB (+0.54% 🔺)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 28 KB (+0.66% 🔺)
@sentry/replay ES6 CDN Bundle (gzipped + minified) 49.42 KB (+0.01% 🔺)
@sentry/replay - Webpack (gzipped + minified) 43.1 KB (0%)
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 69.39 KB (+0.29% 🔺)
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 61.82 KB (+0.26% 🔺)

@lforst lforst requested review from AbhiPrasad, Lms24 and mydea July 6, 2023 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle AggregateErrors
2 participants