Explorar o código

Update good for ConfigurationError

Willem van Bergen %!s(int64=10) %!d(string=hai) anos
pai
achega
f7a5956c80
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      errors.go

+ 2 - 2
errors.go

@@ -58,8 +58,8 @@ func (err PacketDecodingError) Error() string {
 	return fmt.Sprintf("kafka: Error while decoding packet: %s", err.Info)
 }
 
-// ConfigurationError is the type of error returned from NewClient, NewAsyncProducer or NewConsumer when the specified
-// configuration is invalid.
+// ConfigurationError is the type of error returned from a constructor (e.g. NewClient, or NewConsumer)
+// when the specified configuration is invalid.
 type ConfigurationError string
 
 func (err ConfigurationError) Error() string {