reduce code smell for faraday 4xx error handler