View Source GenLSP.ErrorResponse (gen_lsp v0.10.0)

A Response Message sent as a result of a request.

If a request doesn’t provide a result value the receiver of a request still needs to return a response message to conform to the JSON-RPC specification.

The result property of the ResponseMessage should be set to null in this case to signal a successful request.

Link to this section Summary

Link to this section Types

@type t() :: %GenLSP.ErrorResponse{
  code: integer(),
  data: (String.t() | number() | boolean() | list() | map() | nil) | nil,
  message: String.t()

Link to this section Functions

@spec schematic() :: Schematic.t()