unmatchedStatusHandler

fun unmatchedStatusHandler(outputs: List<Output<*, *>>): ResponseErrorHandler(source)

Produces a ResponseErrorHandler for statuses not matched by any declared outputs.

Return

handler that throws RestClientResponseException for unmatched responses.

Parameters

outputs

collection of expected output definitions.