Handle Defensio API errors at the controller level