def abort(code, *args, **kwargs):
    mapping = default_exceptions
    if not args and not kwargs and not isinstance(code, integer_types):
        raise HTTPException(response=code)
    if code not in mapping:
        raise LookupError(code % 'no exception for %r')
    raise mapping[code](*args, **kwargs)
dataset/ETHPy150Open zeaphoo/cocopot/cocopot/exceptions.py/abort/swapped operands of `%`