Whenever, through error or inadvertence, any person shall pay any assessment, or installment thereof, upon the lands of another, such payer may, after demand and refusal, by an action in the district court, recover from the owner of such lands the amount so paid and costs of the action.
NRS 271.465