Improved error reporting of main conversion validate function.