Fixed variant error reporting