XFTP error type

This commit is contained in:
Evgeny Poberezkin
2023-02-17 22:27:36 +00:00
parent 15637e545b
commit bd0cc25083
6 changed files with 100 additions and 33 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ defaultXFTPClientAgentConfig =
}
}
data XFTPClientAgentError = XFTPClientAgentError XFTPServer ProtocolClientError
data XFTPClientAgentError = XFTPClientAgentError XFTPServer XFTPClientError
deriving (Show, Exception)
newXFTPAgent :: XFTPClientAgentConfig -> STM XFTPClientAgent
-1
View File
@@ -28,7 +28,6 @@ import Options.Applicative
import Simplex.FileTransfer.Client
import Simplex.FileTransfer.Client.Agent
import Simplex.FileTransfer.Description
import Simplex.FileTransfer.Description (FileSize (unFileSize))
import Simplex.FileTransfer.Protocol (FileInfo (..))
import Simplex.Messaging.Agent.Lock
import qualified Simplex.Messaging.Crypto as C