I want to handle 401, 500 error with custom response. Flask provides a nice way,
@app.errorhandler(401)
Is there any similar way for Chalice? I changed the Gateway Response from API Gateway via console and everytime I deploy my chalice app, I need to change it manually. Is there any automated way of doing that?