mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 06:22:43 +00:00
core, ui: add remote host/controller stop reasons to events (#3472)
This commit is contained in:
1 parent
d29f1bb0cf
commit
d4ac1c0cf2
4 files changed
+30
-8
No files matched your search
@@ -1084,8 +1084,8 @@ data RemoteHostError
|
||||
deriving (Show, Exception)
|
||||
|
||||
data RemoteHostStopReason
|
||||
= RHSRConnectionFailed ChatError
|
||||
| RHSRCrashed ChatError
|
||||
= RHSRConnectionFailed {chatError :: ChatError}
|
||||
| RHSRCrashed {chatError :: ChatError}
|
||||
| RHSRDisconnected
|
||||
deriving (Show, Exception)
|
||||
|
||||
@@ -1106,9 +1106,9 @@ data RemoteCtrlError
|
||||
deriving (Show, Exception)
|
||||
|
||||
data RemoteCtrlStopReason
|
||||
= RCSRDiscoveryFailed ChatError
|
||||
| RCSRConnectionFailed ChatError
|
||||
| RCSRSetupFailed ChatError
|
||||
= RCSRDiscoveryFailed {chatError :: ChatError}
|
||||
| RCSRConnectionFailed {chatError :: ChatError}
|
||||
| RCSRSetupFailed {chatError :: ChatError}
|
||||
| RCSRDisconnected
|
||||
deriving (Show, Exception)
|
||||
|
||||
|
||||
Reference in new issue
Block a user