moved HttpError to root module
Revert "moved HttpError to root module"

This reverts commit b5f1b7bf7709c915384dcc5f9b3ea6c3795647e6.
removed predefined constants of HTTP status codes