add error codes for "declaration is not visible everywhere "