0.4.0.1

add error statistics to COSBench.
the error log format is: error code ,  number of error's occurrence , targets,  exception stack