Change error class