Skip to main content

Module error

Module error 

Source
Expand description

Error surface for the LSP client. Kept narrow and shape-rich so the editor can branch on the failure (UI surface) instead of pattern-matching error strings.

Mirrors the RuntimeError shape from lattice-runtime: protocol-level errors (Busy, ActorGone, Cancelled) are distinct from server-reported errors (ResponseError from the wire), which are distinct from transport / spawn failures (Transport, Codec).

Enums§

LspError
All failure modes a ServerHandle caller can observe.

Type Aliases§

LspResult
Convenience alias so the rest of the crate doesn’t have to re-spell Result<T, LspError> everywhere.