Skip to content

[v9] Parent-child relationship for the PlatformExceptions and Cause #1859

@krystofwoldrich

Description

@krystofwoldrich

Description

The Dart/Flutter SDK currently supports PlatformExceptions and ExceptionCause.

Related links

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

Image

Metadata

Metadata

Assignees

Projects

Status

Done

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions