def return_error(facility, message=''):
    if facility:
        facility(message)
    else:
        print(message)
Receives an error message to send to whatever facility is appropriate for a project. defaults to print.
dataset/ETHPy150Open tristanfisher/easyos/easyos/easyos.py/return_error