View Source GenLSP.Enumerations.ErrorCodes (gen_lsp v0.8.1)

Predefined error codes.

Link to this section Summary

Functions

Error code indicating that a server received a notification or request before the server has received the initialize request.

Link to this section Types

@type t() :: -32700 | -32600 | -32601 | -32602 | -32603 | -32002 | -32001

Link to this section Functions

@spec internal_error() :: -32603
@spec invalid_params() :: -32602
@spec invalid_request() :: -32600
@spec method_not_found() :: -32601
@spec parse_error() :: -32700
Link to this function

server_not_initialized()

View Source
@spec server_not_initialized() :: -32002

Error code indicating that a server received a notification or request before the server has received the initialize request.

@spec unknown_error_code() :: -32001