Response.unknownRequest constructor

Response.unknownRequest(
  1. Request request
)

Initialize a newly created instance to represent an error condition caused by a request that cannot be handled by any known handlers.

Implementation

Response.unknownRequest(Request request)
    : this(request.id,
          error: RequestError(
              RequestErrorCode.UNKNOWN_REQUEST, 'Unknown request'));