chore: remove redundant prefix of "error: " in error creation

This commit is contained in:
qiying.wang
2023-03-02 01:42:57 -08:00
committed by kevin
parent 7a327ccda4
commit fe13a533f5
4 changed files with 11 additions and 11 deletions

View File

@@ -1009,7 +1009,7 @@ func newInitError(name string) error {
}
func newTypeMismatchError(name string) error {
return fmt.Errorf("error: type mismatch for field %s", name)
return fmt.Errorf("type mismatch for field %s", name)
}
func readKeys(key string) []string {