When errors are detected, they may be reported by setting an exit code for the program itself, write out an error file, or even send out an email.