Why not just AbstractVector{<: Number} ? Do you really want to restrict to not accept Float32 for instance?
Many times is advantageous to just let the signature generic and let the error appear down the line. (Most Julia code is written like that)
And if you want a more precise error message add a barrier on the very top of the user input to assert the type of variable that are supported.