Need help on Exception handling block

Test case doesn’t recognize StepErrorException class. You have to either import it or use full path as you did in previous throw statements.