text/template: add ExecError type and return it from Execute on error
Useful to discriminate evaluation errors from write errors. Fixes #11898. Change-Id: I907d339a3820e887872d78e0e2d8fd011451fd19 Reviewed-on: https://go-review.googlesource.com/13957Reviewed-by:Andrew Gerrand <adg@golang.org>
Showing
Please
register
or
sign in
to comment