aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/exp/template/html/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/exp/template/html/error.go')
-rw-r--r--src/pkg/exp/template/html/error.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/template/html/error.go b/src/pkg/exp/template/html/error.go
index 5515bfe68d..22fca9e060 100644
--- a/src/pkg/exp/template/html/error.go
+++ b/src/pkg/exp/template/html/error.go
@@ -197,7 +197,7 @@ const (
ErrSlashAmbig
)
-func (e *Error) String() string {
+func (e *Error) Error() string {
if e.Line != 0 {
return fmt.Sprintf("exp/template/html:%s:%d: %s", e.Name, e.Line, e.Description)
} else if e.Name != "" {