format error report