Added helper class to collect reusable error messages