Fix documentation in util

This commit is contained in:
bogem 2016-08-30 21:38:16 +05:00
parent 52447662c7
commit 7ae890a1c6

View file

@ -29,12 +29,12 @@ import (
"gopkg.in/yaml.v2"
)
// Denotes failing to parse configuration file.
// ConfigParseError denotes failing to parse configuration file.
type ConfigParseError struct {
err error
}
// Returns the formatted configuration error.
// Error returns the formatted configuration error.
func (pe ConfigParseError) Error() string {
return fmt.Sprintf("While parsing config: %s", pe.err.Error())
}