Sha256: 38c8613eb11a8e95cbcc1f12690cffa917f16c4d969ab5a0072b0c0717907d41
Contents?: true
Size: 841 Bytes
Versions: 7
Compression:
Stored size: 841 Bytes
Contents
module LanguageServer module Protocol module Interfaces # # Known error codes for an `InitializeError`; # class InitializeError def initialize(retry:) @attributes = {} @attributes[:retry] = binding.local_variable_get(:retry) @attributes.freeze end # # 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. # # @return [boolean] def retry attributes.fetch(:retry) end attr_reader :attributes def to_json(*args) attributes.to_json(*args) end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems