in api/pkg/handler/errors.go [67:81]
func Wrapf(format string, a ...interface{}) error {
he := &httpError{
err: fmt.Errorf(format, a...),
status: http.StatusInternalServerError,
msg: http.StatusText(http.StatusInternalServerError),
}
pe, ok := a[len(a)-1].(*httpError)
if ok {
he.status = pe.status
he.msg = pe.msg
}
return he
}