diff --git a/specification.md b/specification.md index ef339da25..0afa79522 100644 --- a/specification.md +++ b/specification.md @@ -2417,6 +2417,14 @@ export interface ApplyWorkspaceEditResponse { * Indicates whether the edit was applied or not. */ applied: boolean; + + /** + * An optional textual description for why the edit was not applied. + * This may be used may be used by the server for diagnostic + * logging or to provide a suitable error for a request that + * triggered the edit. + */ + failureReason?: string; } ``` * error: code and message set in case an exception happens during the request.