Functions that returns the error messages take the file that has the error as the first arguments and the widget's options as the second argument