Response.invalidAnalysisRoot constructor

Response.invalidAnalysisRoot(
  1. Request request,
  2. String rootPath
)

Initialize a newly created instance to represent an error condition caused by an analysis.reanalyze request that specifies an analysis root that is not in the current list of analysis roots.

Implementation

Response.invalidAnalysisRoot(Request request, String rootPath)
    : this(request.id,
          error: RequestError(RequestErrorCode.INVALID_ANALYSIS_ROOT,
              'Invalid analysis root: $rootPath'));