class

LSProtocol::InitializeError

Inherits JSON::Serializable / Reference / Object

The data type of the ResponseError if the initialize request fails.

Constructors

new(pull : JSON::PullParser)
Source
new(retry : Bool | Nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

retry

Indicates whether the client execute the following retry logic: (1) show the message provided by the ResponseError to the user (2) user selects retry or cancel (3) if user selected retry the initialize method is sent again.

Source