the template.Exec method should not wrap the error in a way that erase its type.
Such deletion happens in statements like errors.WithStack(errors.Errorf("line %d: %s", s.T().LineNumber, err))
I would like that the error is wrapped using errors.Wraper methods so i can use err = errors.Cause(err) to retrieve the underlying error i m interesting in.
given a template such as
a context such as
the template.Exec method should not wrap the error in a way that erase its type.
Such deletion happens in statements like
errors.WithStack(errors.Errorf("line %d: %s", s.T().LineNumber, err))
I would like that the error is wrapped using errors.Wraper methods so i can use
err = errors.Cause(err)
to retrieve the underlying error i m interesting in.