Repository navigation
Expand file tree
/
Copy pathSubscriptionDropReason.cs
More file actions
65 lines (61 loc) · 2.01 KB
/
Copy pathSubscriptionDropReason.cs
File metadata and controls
65 lines (61 loc) · 2.01 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
namespace EventStore.ClientAPI
{
/// <summary>
/// Represents the reason subscription drop happened
/// </summary>
public enum SubscriptionDropReason
{
/// <summary>
/// Subscription dropped because the client called Close.
/// </summary>
UserInitiated,
/// <summary>
/// Subscription dropped because the client is not authenticated.
/// </summary>
NotAuthenticated,
/// <summary>
/// Subscription dropped because access to the stream was denied.
/// </summary>
AccessDenied,
/// <summary>
/// Subscription dropped because of an error in the subscription phase.
/// </summary>
SubscribingError,
/// <summary>
/// Subscription dropped because of a server error.
/// </summary>
ServerError,
/// <summary>
/// Subscription dropped because the connection was closed.
/// </summary>
ConnectionClosed,
/// <summary>
/// Subscription dropped because of an error during the catch-up phase.
/// </summary>
CatchUpError,
/// <summary>
/// Subscription dropped because it's queue overflowed.
/// </summary>
ProcessingQueueOverflow,
/// <summary>
/// Subscription dropped because an exception was thrown by a handler.
/// </summary>
EventHandlerException,
/// <summary>
/// The maximum number of subscribers for the persistent subscription has been reached
/// </summary>
MaxSubscribersReached,
/// <summary>
/// The persistent subscription has been deleted
/// </summary>
PersistentSubscriptionDeleted,
/// <summary>
/// Subscription was dropped for an unknown reason.
/// </summary>
Unknown = 100,
/// <summary>
/// Target of persistent subscription was not found. Needs to be created first
/// </summary>
NotFound
}
}