GenLSP.Enumerations.ErrorCodes (gen_lsp v0.0.7)

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

Link to this function

internal_error()

@spec internal_error() :: -32603
Link to this function

invalid_params()

@spec invalid_params() :: -32602
Link to this function

invalid_request()

@spec invalid_request() :: -32600
Link to this function

method_not_found()

@spec method_not_found() :: -32601
@spec parse_error() :: -32700
Link to this function

server_not_initialized()

@spec server_not_initialized() :: -32002

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

Link to this function

unknown_error_code()

@spec unknown_error_code() :: -32001