LanguageServerOutput.CreateInternalServerErrorOutput(String, String) 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.
Creates a new instance of LanguageServerOutput with the given internal server error.
public static Microsoft.PowerFx.LanguageServerProtocol.LanguageServerOutput CreateInternalServerErrorOutput(string id, string message = default);
static member CreateInternalServerErrorOutput : string * string -> Microsoft.PowerFx.LanguageServerProtocol.LanguageServerOutput
Public Shared Function CreateInternalServerErrorOutput (id As String, Optional message As String = Nothing) As LanguageServerOutput
Parameters
- id
- String
The id of the request that resulted in the error.
- message
- String
The error message.
Returns
A new instance of LanguageServerOutput with the given error information.