Hide internal error datastructure httpError

This currently only allows to add one level
of errors to the error struct