statusHandler
fun statusHandler(output: Output<*, *>, method: Method, uri: URI): RestClient.ResponseSpec.ErrorHandler(source)
Produces an error handler that verifies the response content type for output.
Return
an error handler that raises RestClientResponseException with detailed diagnostics.
Parameters
output
definition that produced the handler.
method
HTTP method used for the request.
uri
request URI.