Correct error class