Fail with an error if the response has an error status.
An error status is a 4xx or 5xx code (RFC 7231).
:rtype: A `Deferred` that fires with the response itself if the status
is a known non-error code, or that fails it with
:exc:`twisted.web.error.Error` otherwise.