register errors and return to calling class: https://github.com/cityindex/labs.cityindex.com/issues/112