added Error report function