Adds the ability to have default headers on the error response.