"General purpose" current limiter?
I give you a simple idea of universal current limiter with this circuit:

You can get curent limitter by adjusting the potentiometer of 5k, and you can modify the 0.5Ω resistor to get a different value of current limitation.
Be careful: R=0.5Ω is a 10W power risistor like this one:

The input voltage can be from 12V to 50V, but at the maximum voltage you may need a heat sink on the power transistor 2N3055.