Sets the type of Errorhandling for Testcase generation.