In actions where allowance of costs is not otherwise provided by the General Statutes, costs may be allowed in the discretion of the court. Costs awarded by the court are subject to the limitations on assessable or recoverable costs set forth in G.S. 7A-305(d), unless specifically provided for otherwise in the General Statutes.
N.C. Gen. Stat. § 6-20