new HttpException classes + ApiError bugfix