Refine Genotype viewer boilerplate
Replace throw by reportError