I use both.
I look at it like this. A bunch of related tools without a common object, like data scrubbing functions, should all be in the same file but not in a class as there is not really a single object they work on.
On the other hand if I have an object, let's say a database table, then I create a class that contains the methods and values for this object and those methods use the functions in my error checking library.