Error typdef enumeration and userInfo.