let\'s say I have an array of validation function that returns an error message or null, I want to iterate over the array and find the returned value of the first function t