Removed duplicate error class