Skip to content

Commit

Permalink
Clarify error messages in for fragmenting reader errors (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
prashantv committed Jan 19, 2017
1 parent 16e9073 commit f4c39d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fragmenting_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ var (
errChunkExceedsFragmentSize = errors.New("peer chunk size exceeds remaining data in fragment")
errAlreadyReadingArgument = errors.New("already reading argument")
errNotReadingArgument = errors.New("not reading argument")
errMoreDataInArgument = errors.New("more data available in argument")
errExpectedMoreArguments = errors.New("more arguments in message")
errMoreDataInArgument = errors.New("closed argument reader when there is more data available to read")
errExpectedMoreArguments = errors.New("closed argument reader when there may be more data available to read")
errNoMoreFragments = errors.New("no more fragments")
)

Expand Down

0 comments on commit f4c39d7

Please sign in to comment.