(sentinel error, wrapped ...error)
| 139 | } |
| 140 | |
| 141 | func Wrap(sentinel error, wrapped ...error) sentinelError { |
| 142 | return sentinelError{sentinel: sentinel, wrapped: errors.Join(wrapped...)} |
| 143 | } |
| 144 | |
| 145 | // PacketEncodingError is returned from a failure while encoding a Kafka packet. This can happen, for example, |
| 146 | // if you try to encode a string over 2^15 characters in length, since Kafka's encoding rules do not permit that. |
no outgoing calls