def handle_option_error(func):
def wrapped(*args):<EOL><INDENT>try:<EOL><INDENT>return func(*args)<EOL><DEDENT>except options.RuleOptionError as e:<EOL><INDENT>raise LintConfigError(ustr(e))<EOL><DEDENT><DEDENT>return wrapped<EOL>
Decorator that calls given method/function and handles any RuleOptionError gracefully by converting it to a
    LintConfigError.