when error occurs, return 'Fail' instead of 'Unexpected'