Exception: RubyLsp::DelegateRequestError
- Inherits:
-
StandardError
- Object
- StandardError
- RubyLsp::DelegateRequestError
- Defined in:
- lib/ruby_lsp/utils.rb
Overview
Request delegation for embedded languages is not yet standardized into the language server specification. Here we use this custom error class as a way to return a signal to the client that the request should be delegated to the language server for the host language. The support for delegation is custom built on the client side, so each editor needs to implement their own until this becomes a part of the spec
Constant Summary collapse
- CODE =
A custom error code that clients can use to handle delegate requests. This is past the range of error codes listed by the specification to avoid conflicting with other error types
-32900