Edit error messages

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian
2020-09-29 13:40:34 -04:00
parent 6f79da6e35
commit 022cfd5cb1
18 changed files with 43 additions and 49 deletions
+1 -1
View File
@@ -469,7 +469,7 @@ func (s *PostService) DisableContestMode(ctx context.Context, id string) (*Respo
// LoadMoreComments retrieves more comments that were left out when initially fetching the post.
func (s *PostService) LoadMoreComments(ctx context.Context, pc *PostAndComments) (*Response, error) {
if pc == nil {
return nil, errors.New("pc: cannot be nil")
return nil, errors.New("*PostAndComments: cannot be nil")
}
if !pc.HasMore() {