def return_error(facility, message=''):
    if facility:
        facility(message)
    else:
        print(message)
Create an action
dataset/ETHPy150Open tristanfisher/easyos/easyos/easyos.py/return_error--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/rules/factory.py/SubActionFactory.get_action