Response.debugPortCouldNotBeOpened constructor
Response.debugPortCouldNotBeOpened(
- Request request,
- dynamic error
Create and return the DEBUG_PORT_COULD_NOT_BE_OPENED
error response.
Implementation
Response.debugPortCouldNotBeOpened(Request request, dynamic error)
: this(request.id,
error: RequestError(
RequestErrorCode.DEBUG_PORT_COULD_NOT_BE_OPENED, '$error'));