func NewHTTPError(err error, status int, detail interface{}) *HTTPError {
	return &HTTPError{
		Error:  err,
		Status: status,
		Detail: detail,
	}
}
NewHTTPError creates a new HTTPError.
package webapputil
import "net/http"
type HTTPError struct {
	Error  error
	Status int
	Detail interface{}
}