def option(*param_decls, **attrs):
    def decorator(f):
        if 'help' in attrs:
            attrs['help'] = inspect.cleandoc(attrs['help'])
        OptionClass = attrs.pop('cls', Option)
        _param_memo(f, OptionClass(param_decls, **attrs))
        return f
    return decorator
Create a user (or generic) exception from a WAMP error message.
dataset/ETHPy150Open pallets/click/click/decorators.py/option--crossover with--dataset/ETHPy150Open crossbario/autobahn-python/autobahn/wamp/protocol.py/BaseSession._exception_from_message