add option to print time use report

add more error message types and ignore source code