Description

CheckResponse returns an error (of type *Error) if the response status code is not 2xx.