def error(message, code=None):
    raise InvalidRequestException(message, code=code)
Test for Send an event to the Salt Master
dataset/ETHPy150Open coleifer/scout/scout.py/error--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/modules/event_test.py/EventTestCase.test_send