commit | 96f9e8837ef884393b994ad8762073a828c5ee15 | [log] [tgz] |
---|---|---|
author | Mike Samuel <mikesamuel@gmail.com> | Thu Sep 15 19:05:33 2011 -0700 |
committer | Mike Samuel <mikesamuel@gmail.com> | Thu Sep 15 19:05:33 2011 -0700 |
tree | dfed650d67885fa4f33a9649b39ca5e02c347441 | |
parent | 642d272c3cdaea58decce1a9cf6e9668b1b16f67 [diff] |
exp/template/html: moved error docs out of package docs onto error codes This replaces the errStr & errLine members of context with a single err *Error, and introduces a number of const error codes, one per escape-time failure mode, that can be separately documented. The changes to the error documentation moved from doc.go to error.go are cosmetic. R=r, nigeltao CC=golang-dev https://golang.org/cl/5026041