Change GetOptError to str for display purpose.