Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data SessionException
- = Timeout (Maybe FromServerMessage)
- | NoContentLengthHeader
- | UnexpectedMessage String FromServerMessage
- | ReplayOutOfOrder FromServerMessage [FromServerMessage]
- | UnexpectedDiagnostics
- | IncorrectApplyEditRequest String
- | UnexpectedResponseError SomeLspId ResponseError
- | UnexpectedServerTermination
- | IllegalInitSequenceMessage FromServerMessage
- | MessageSendError Value IOError
Documentation
data SessionException Source #
An exception that can be thrown during a Session
Timeout (Maybe FromServerMessage) | |
NoContentLengthHeader | |
UnexpectedMessage String FromServerMessage | |
ReplayOutOfOrder FromServerMessage [FromServerMessage] | |
UnexpectedDiagnostics | |
IncorrectApplyEditRequest String | |
UnexpectedResponseError SomeLspId ResponseError | |
UnexpectedServerTermination | |
IllegalInitSequenceMessage FromServerMessage | |
MessageSendError Value IOError |
Instances
Exception SessionException Source # | |
Defined in Language.LSP.Client.Exceptions | |
Show SessionException Source # | |
Defined in Language.LSP.Client.Exceptions showsPrec :: Int -> SessionException -> ShowS # show :: SessionException -> String # showList :: [SessionException] -> ShowS # | |
Eq SessionException Source # | |
Defined in Language.LSP.Client.Exceptions (==) :: SessionException -> SessionException -> Bool # (/=) :: SessionException -> SessionException -> Bool # |