Class: Solargraph::LanguageServer::Message::MethodNotFound

Inherits:
Base
  • Object
show all
Defined in:
lib/solargraph/language_server/message/method_not_found.rb

Instance Attribute Summary

Attributes inherited from Base

#error, #host, #id, #method, #params, #request, #result

Instance Method Summary collapse

Methods inherited from Base

#initialize, #post_initialize, #send_response, #set_error, #set_result

Constructor Details

This class inherits a constructor from Solargraph::LanguageServer::Message::Base

Instance Method Details

#processObject



5
6
7
8
9
10
# File 'lib/solargraph/language_server/message/method_not_found.rb', line 5

def process
  set_error(
    Solargraph::LanguageServer::ErrorCodes::METHOD_NOT_FOUND,
    "Method not found: #{request['method']}"
  )
end