added error message for isOneOf validator