remove unused error classes