Handle redeclaration error.