Error report based on calling class