Response.refactoringRequestCancelled constructor

Response.refactoringRequestCancelled(
  1. Request request
)

Initialize a newly created instance to represent the REFACTORING_REQUEST_CANCELLED error condition.

Implementation

Response.refactoringRequestCancelled(Request request)
    : this(request.id,
          error: RequestError(RequestErrorCode.REFACTORING_REQUEST_CANCELLED,
              'The `edit.getRefactoring` request was cancelled.'));