LanguageServerOutputBuilder.AddErrorResponse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add an error response.
public void AddErrorResponse(string id, Microsoft.PowerFx.LanguageServerProtocol.JsonRpcHelper.ErrorCode code, string message = default);
member this.AddErrorResponse : string * Microsoft.PowerFx.LanguageServerProtocol.JsonRpcHelper.ErrorCode * string -> unit
Public Sub AddErrorResponse (id As String, code As JsonRpcHelper.ErrorCode, Optional message As String = Nothing)
Parameters
- id
- String
Id of the request.
Error Code.
- message
- String
Error Message.