Custom error handling routine for our form.