Condensed error reporting with helper functions