Response.invalidExecutionContext constructor

Response.invalidExecutionContext(
  1. Request request,
  2. String contextId
)

Initialize a newly created instance to represent an error condition caused by a request that specifies an execution context whose context root does not exist.

Implementation

Response.invalidExecutionContext(Request request, String contextId)
    : this(request.id,
          error: RequestError(RequestErrorCode.INVALID_EXECUTION_CONTEXT,
              'Invalid execution context: $contextId'));