Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- asGhcIdePlugin :: Recorder (WithPriority Log) -> IdePlugins IdeState -> Plugin Config
- toResponseError :: (PluginId, PluginError) -> TResponseError m
- data Log
- = LogPluginError PluginId PluginError
- | forall m.ToJSON (ErrorData m) => LogResponseError PluginId (TResponseError m)
- | LogNoPluginForMethod (Some SMethod)
- | LogInvalidCommandIdentifier
- | ExceptionInPlugin PluginId (Some SMethod) SomeException
Documentation
asGhcIdePlugin :: Recorder (WithPriority Log) -> IdePlugins IdeState -> Plugin Config Source #
Map a set of plugins to the underlying ghcide engine.
toResponseError :: (PluginId, PluginError) -> TResponseError m Source #
LogPluginError PluginId PluginError | |
forall m.ToJSON (ErrorData m) => LogResponseError PluginId (TResponseError m) | |
LogNoPluginForMethod (Some SMethod) | |
LogInvalidCommandIdentifier | |
ExceptionInPlugin PluginId (Some SMethod) SomeException |