You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dart/lib/src/protocol/mechanism.dart
+52
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,38 @@ class Mechanism {
44
44
/// This may be because they are created at a central place (like a crash handler), and are all called the same: Error, Segfault etc. When the flag is set, Sentry will then try to use other information (top in-app frame function) rather than exception type and value in the UI for the primary event display. This flag should be set for all "segfaults" for instance as every single error group would look very similar otherwise.
45
45
finalbool? synthetic;
46
46
47
+
/// An optional boolean value, set `true` when the exception is the exception
48
+
/// group type specific to the platform or language.
49
+
/// The default is false when omitted.
50
+
/// For example, exceptions of type [PlatformException](https://api.flutter.dev/flutter/services/PlatformException-class.html)
51
+
/// have set it to `true`, others are set to `false`.
52
+
finalbool? isExceptionGroup;
53
+
54
+
/// An optional string value describing the source of the exception.
55
+
///
56
+
/// The SDK should populate this with the name of the property or attribute of
57
+
/// the parent exception that this exception was acquired from.
58
+
/// In the case of an array, it should include the zero-based array index as
59
+
/// well.
60
+
finalString? source;
61
+
62
+
/// An optional numeric value providing an ID for the exception relative to
63
+
/// this specific event.
64
+
///
65
+
/// The SDK should assign simple incrementing integers to each exception in
66
+
/// the tree, starting with 0 for the root of the tree.
67
+
/// In other words, when flattened into the list provided in the exception
68
+
/// values on the event, the last exception in the list should have ID 0,
69
+
/// the previous one should have ID 1, the next previous should have ID 2, etc.
70
+
finalint? exceptionId;
71
+
72
+
/// An optional numeric value pointing at the [exceptionId] that is the parent
73
+
/// of this exception.
74
+
///
75
+
/// The SDK should assign this to all exceptions except the root exception
76
+
/// (the last to be listed in the exception values).
0 commit comments