Skip to content

Commit

Permalink
up no rate sub error code
Browse files Browse the repository at this point in the history
  • Loading branch information
karmanyaahm committed Dec 13, 2023
1 parent 1bbe935 commit a01acce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,6 @@ var (
errHTTPInternalErrorInvalidPath = &errHTTP{50002, http.StatusInternalServerError, "internal server error: invalid path", "", nil}
errHTTPInternalErrorMissingBaseURL = &errHTTP{50003, http.StatusInternalServerError, "internal server error: base-url must be be configured for this feature", "https://ntfy.sh/docs/config/", nil}
errHTTPInternalErrorWebPushUnableToPublish = &errHTTP{50004, http.StatusInternalServerError, "internal server error: unable to publish web push message", "", nil}
errHTTPInsufficientStorageUnifiedPush = &errHTTP{50701, http.StatusInsufficientStorage, "cannot publish to UnifiedPush topic without previously active subscriber", "", nil}
errHTTPInsufficientStorageUnifiedPush = &errHTTP{40401, http.StatusInsufficientStorage, "cannot publish to UnifiedPush topic without previously active subscriber", "", nil}
// TODO clean
)

0 comments on commit a01acce

Please sign in to comment.