HttpError.from(init: HttpErrorInit): HttpError
Creates an HttpError from an HttpErrorInit object.
Convenience overload used by factory functions so they can branch on
optional details/cause once.
init: HttpErrorInit
The error options
A new HttpError