Skip to content

Commit

Permalink
errors: add constant for 429
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Oct 30, 2024
1 parent cd90035 commit 97cdda6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ var (
ErrIQGone error = &IQError{Code: 410, Text: "gone"}
ErrIQResourceLimit error = &IQError{Code: 419, Text: "resource-limit"}
ErrIQLocked error = &IQError{Code: 423, Text: "locked"}
ErrIQRateOverLimit error = &IQError{Code: 429, Text: "rate-overlimit"}
ErrIQInternalServerError error = &IQError{Code: 500, Text: "internal-server-error"}
ErrIQServiceUnavailable error = &IQError{Code: 503, Text: "service-unavailable"}
ErrIQPartialServerError error = &IQError{Code: 530, Text: "partial-server-error"}
Expand Down

0 comments on commit 97cdda6

Please sign in to comment.