misc: Fix typos and spelling errors
This commit is contained in:
@@ -58,7 +58,7 @@ func Append(reterr, err error) error {
|
||||
}
|
||||
|
||||
// String returns a string representation of the error. In particular, if the
|
||||
// error is nil, it returns an empty string instead of panicing.
|
||||
// error is nil, it returns an empty string instead of panicking.
|
||||
func String(err error) string {
|
||||
if err == nil {
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user