add error reporting set, add http class