all: const instead of var for errors

This commit is contained in:
Aleksandr Razumov
2017-02-04 20:53:33 -08:00
parent a65bb247e9
commit 3ec51bf758
2 changed files with 2 additions and 2 deletions

View File

@@ -405,7 +405,7 @@ func (m *Message) GetErrorCode() (int, []byte, error) {
return code, reason, nil
}
var (
const (
// ErrAttributeNotFound means that there is no such attribute.
ErrAttributeNotFound Error = "Attribute not found"