Copyright | (c) Sebastian Witte |
---|---|
License | Apache-2.0 |
Maintainer | woozletoff@gmail.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data NeovimException
- exceptionToDoc :: NeovimException -> Doc AnsiStyle
- catchNeovimException :: MonadUnliftIO io => io a -> (NeovimException -> io a) -> io a
Documentation
data NeovimException Source #
Exceptions specific to nvim-hs.
ErrorMessage (Doc AnsiStyle) | Simple error message that is passed to neovim. It should currently only contain one line of text. |
ErrorResult (Doc AnsiStyle) Object | Error that can be returned by a remote API call. The |
Instances
IsString NeovimException Source # | |
Defined in Neovim.Exceptions fromString :: String -> NeovimException # | |
Exception NeovimException Source # | |
Defined in Neovim.Exceptions | |
Show NeovimException Source # | |
Defined in Neovim.Exceptions showsPrec :: Int -> NeovimException -> ShowS # show :: NeovimException -> String # showList :: [NeovimException] -> ShowS # |
catchNeovimException :: MonadUnliftIO io => io a -> (NeovimException -> io a) -> io a Source #
Specialization of catch
for NeovimException
s.