Response.unsupportedFeature constructor

Response.unsupportedFeature(
  1. String requestId,
  2. String message
)

Initialize a newly created instance to represent an error condition caused by a request for a service that is not supported.

Implementation

Response.unsupportedFeature(String requestId, String message)
    : this(requestId,
          error: RequestError(RequestErrorCode.UNSUPPORTED_FEATURE, message));