Look for Cerror() in the UDFs. Put the @error in it, and most times, it will return a usable error message.