Update ErrorCode structure to avoid conflict with phoneGap lib