Add SessionConfig
[lsp-test.git] / src / Language / Haskell / LSP / Test / Exceptions.hs
diff --git a/src/Language/Haskell/LSP/Test/Exceptions.hs b/src/Language/Haskell/LSP/Test/Exceptions.hs
new file mode 100644 (file)
index 0000000..deea111
--- /dev/null
@@ -0,0 +1,10 @@
+module Language.Haskell.LSP.Test.Exceptions where
+
+import Control.Exception
+
+data SessionException = TimeoutException
+  deriving Show
+instance Exception SessionException
+
+anySessionException :: SessionException -> Bool
+anySessionException = const True
\ No newline at end of file