-
-
Notifications
You must be signed in to change notification settings - Fork 230
Expand file tree
/
Copy pathCaptureFeedbackErrorReason.cs
More file actions
47 lines (46 loc) · 1.42 KB
/
CaptureFeedbackErrorReason.cs
File metadata and controls
47 lines (46 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
namespace Sentry;
/// <summary>
/// Result code for <see cref="ISentryClient.CaptureFeedback"/> requests
/// </summary>
public enum CaptureFeedbackResult
{
/// <summary>
/// Feedback captured successfully.
/// </summary>
Success,
/// <summary>
/// <para>
/// An unknown error occurred (enable debug mode and check the logs for details).
/// </para>
/// <para>
/// Possible causes:
/// <list type="bullet">
/// <item>
/// <description>An exception from the configureScope callback</description>
/// </item>
/// <item>
/// <description>An error when sending the envelope</description>
/// </item>
/// <item>
/// <description>An attempt to send feedback while the application is shutting down</description>
/// </item>
/// <item>
/// <description>Something more mysterious...</description>
/// </item>
/// </list>
/// </para>
/// </summary>
UnknownError,
/// <summary>
/// Capture failed because Sentry is disabled (very likely an empty DSN was provided when initialising the SDK).
/// </summary>
DisabledHub,
/// <summary>
/// Capture failed because the <see cref="SentryFeedback.Message"/> message is empty.
/// </summary>
EmptyMessage,
/// <summary>
/// The <see cref="SentryFeedback"/> was discarded by an event processor.
/// </summary>
DroppedByEventProcessor,
}