core: Remove unused error classes