LSProtocol::ApplyWorkspaceEditResult
Inherits JSON::Serializable / Reference / Object
The result returned from the apply workspace edit request.
@since 3.17 renamed from ApplyWorkspaceEditResponse
Constructors
new(pull : JSON::PullParser)
Sourcenew(applied : Bool | Nil, failed_change : UInt32 | Nil = nil, failure_reason : String | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
failed_change
Depending on the client's failure handling strategy failedChange might
contain the index of the change that failed. This property is only available
if the client signals a failureHandlingStrategy in its client capabilities.
failure_reason
An optional textual description for why the edit was not applied. This may be used by the server for diagnostic logging or to provide a suitable error for a request that triggered the edit.