소스 검색

Update good for ConfigurationError

Willem van Bergen 10 년 전
부모
커밋
f7a5956c80
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 {