Class: RubyLsp::Handler::RequestHandler

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/ruby_lsp/handler.rb

Instance Method Summary collapse

Instance Method Details

#on_error(&block) ⇒ Object



32
33
34
# File 'lib/ruby_lsp/handler.rb', line 32

def on_error(&block)
  self.error_handler = block
end