dispatch

fun dispatch(httpStatus: Int, body: String): RoutexError

Decode an error response.

Parameters

httpStatus

HTTP status code returned by the YAXI service.

body

Raw response body, possibly empty.