Skip to content

Commit

Permalink
Adjust ErrResponseContent comment description
Browse files Browse the repository at this point in the history
  • Loading branch information
norkans7 committed Jan 14, 2025
1 parent 630a052 commit ada841b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var ErrResponseUnexpected error = &SendError{
clogMsg: "Response doesn't match expected values.",
}

// ErrResponseContent is same as ErrResponseUnexpected without logging so better for channels where response check is user configured.
// ErrResponseContent is same as ErrResponseUnexpected without logging so better for channels where response check is user configured. We conside this message failed when the response content is unexpected
var ErrResponseContent error = &SendError{
msg: "response not expected values",
retryable: false,
Expand Down

0 comments on commit ada841b

Please sign in to comment.