-
-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Description
Description
The Dart/Flutter SDK currently supports PlatformExceptions
and ExceptionCause
.
Related links
sentry-dart/flutter/lib/src/event_processor/platform_exception_event_processor.dart
Line 5 in 681136b
class PlatformExceptionEventProcessor implements EventProcessor { abstract class ExceptionCauseExtractor<T> { - Sentry RFC https://github.com/getsentry/rfcs/blob/main/text/0079-exception-groups.md#example-event
- Example JS impl feat: Support
AggregateErrors
inLinkedErrors
integration sentry-javascript#8463
Notes
I'm not aware of how used or not the AggregateErrors are. After a quick search doesn't seem too common.- Implementing this might likely change grouping so it should be done in a major version.
- Dart could add the parent-child relationship to the linked errors as described in the RFC.
### Related
- [ ] https://github.com/getsentry/sentry/issues/64088
- [ ] https://github.com/getsentry/sentry-java/pull/3184
### Tasks
- [x] Implement parent-child relationship for `PlatformException`
- [x] Implement parent-child relationship for `ExceptionCause`
Example PlatformException
chaining

Metadata
Metadata
Assignees
Projects
Status
Done
Status
No status