Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Commit

Permalink
Document ErrGuildLeaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
hassieswift621 committed Dec 23, 2019
1 parent 6c79dc4 commit b7284f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions error.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var ErrAdjustBounds = xerrors.New("tatsumakigo: the amount to adjust must be bet
// for an action is invalid.
var ErrAdjustInvalid = xerrors.New("tatsumakigo: the amount to adjust for add and remove actions must be above 0")

// ErrLeaderboardLimit is returned by the guild leaderboard endpoint if the limit is not valid.
var ErrLeaderboardLimit = xerrors.New("tatsumakigo: guild leaderboard limit cannot be less than -1")

func errorRequestFailed(err error) error {
Expand Down

0 comments on commit b7284f6

Please sign in to comment.