If a case arises in which an action or proceeding for the enforcement or protection of a substantive right, or the redress or prevention of a wrong, cannot be had under any specific provisions of this chapter or other statutes then the court shall proceed as nearly in conformity with the provisions of this chapter as the circumstances permit to do whatever law and equity and justice require for the protection of the parties.
K.S.A. 60-2606