unknownRequest static method

RequestError unknownRequest(
  1. String method
)

Return a request error representing an error condition caused by a request with the given method that cannot be handled by any known handlers.

Implementation

static RequestError unknownRequest(String method) => RequestError(
    RequestErrorCode.UNKNOWN_REQUEST, 'Unknown request: $method');