NSError object is now created if the status code of a response is not 2XX or 3XX.