static fun <T : Any!> error(code: Int, body: ResponseBody!): Response<T>!
Create a synthetic error response with an HTTP status code of code and body as the error body.
static fun <T : Any!> error(body: ResponseBody!, rawResponse: Response!): Response<T>!
Create an error response from rawResponse with body as the error body.