forked from segmentio/kafka-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ErrorType method to MessageTooLargeError (segmentio#1311)
* Add ErrorType method to MessageTooLargeError struct to support functionality with the errors.Is function. See segmentio#1293 * implement the unwrap method to satisfy errors.Is * support error interface for unwrap
- Loading branch information
1 parent
4713019
commit a8e5eab
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters