change the type of error for type decl syntax