probably best to migrate away from the ErrorResponse class, and entirely use exception objects for it