This commit is contained in:
Miguel Mota 2018-01-26 04:12:44 +00:00 committed by GitHub
commit b22f46d999

View file

@ -62,7 +62,7 @@ func NewAuthNeededError(needed string) error {
}
}
// Error implements the standard error interfacel.
// Error implements the standard error interface.
func (err *AuthNeededError) Error() string {
return fmt.Sprintf("authentication needed: %s", err.Needed)
}