errHTTPBadRequestEmailDisabled=&errHTTP{40001,http.StatusBadRequest,"e-mail notifications are not enabled","https://ntfy.sh/docs/config/#e-mail-notifications"}
errHTTPBadRequestDelayNoCache=&errHTTP{40002,http.StatusBadRequest,"cannot disable cache for delayed message",""}
errHTTPBadRequestDelayNoEmail=&errHTTP{40003,http.StatusBadRequest,"delayed e-mail notifications are not supported",""}
errHTTPBadRequestDelayCannotParse=&errHTTP{40004,http.StatusBadRequest,"invalid delay parameter: unable to parse delay","https://ntfy.sh/docs/publish/#scheduled-delivery"}
errHTTPBadRequestDelayTooSmall=&errHTTP{40005,http.StatusBadRequest,"invalid delay parameter: too small, please refer to the docs","https://ntfy.sh/docs/publish/#scheduled-delivery"}
errHTTPBadRequestDelayTooLarge=&errHTTP{40006,http.StatusBadRequest,"invalid delay parameter: too large, please refer to the docs","https://ntfy.sh/docs/publish/#scheduled-delivery"}
errHTTPBadRequestSinceInvalid=&errHTTP{40008,http.StatusBadRequest,"invalid since parameter","https://ntfy.sh/docs/subscribe/api/#fetch-cached-messages"}
errHTTPBadRequestAttachmentURLInvalid=&errHTTP{40013,http.StatusBadRequest,"invalid request: attachment URL is invalid","https://ntfy.sh/docs/publish/#attachments"}
errHTTPBadRequestAttachmentsDisallowed=&errHTTP{40014,http.StatusBadRequest,"invalid request: attachments not allowed","https://ntfy.sh/docs/config/#attachments"}
errHTTPBadRequestAttachmentsExpiryBeforeDelivery=&errHTTP{40015,http.StatusBadRequest,"invalid request: attachment expiry before delayed delivery date","https://ntfy.sh/docs/publish/#scheduled-delivery"}
errHTTPBadRequestWebSocketsUpgradeHeaderMissing=&errHTTP{40016,http.StatusBadRequest,"invalid request: client not using the websocket protocol","https://ntfy.sh/docs/subscribe/api/#websockets"}
errHTTPBadRequestMessageJSONInvalid=&errHTTP{40017,http.StatusBadRequest,"invalid request: request body must be message JSON","https://ntfy.sh/docs/publish/#publish-as-json"}
errHTTPBadRequestMatrixPushkeyBaseURLMismatch=&errHTTP{40020,http.StatusBadRequest,"invalid request: push key must be prefixed with base URL","https://ntfy.sh/docs/publish/#matrix-gateway"}
errHTTPEntityTooLargeAttachment=&errHTTP{41301,http.StatusRequestEntityTooLarge,"attachment too large, or bandwidth limit reached","https://ntfy.sh/docs/publish/#limitations"}
errHTTPEntityTooLargeMatrixRequest=&errHTTP{41302,http.StatusRequestEntityTooLarge,"Matrix request is larger than the max allowed length",""}
errHTTPEntityTooLargeJSONBody=&errHTTP{41303,http.StatusRequestEntityTooLarge,"JSON body too large",""}
errHTTPTooManyRequestsLimitRequests=&errHTTP{42901,http.StatusTooManyRequests,"limit reached: too many requests, please be nice","https://ntfy.sh/docs/publish/#limitations"}
errHTTPTooManyRequestsLimitEmails=&errHTTP{42902,http.StatusTooManyRequests,"limit reached: too many emails, please be nice","https://ntfy.sh/docs/publish/#limitations"}
errHTTPTooManyRequestsLimitSubscriptions=&errHTTP{42903,http.StatusTooManyRequests,"limit reached: too many active subscriptions, please be nice","https://ntfy.sh/docs/publish/#limitations"}
errHTTPTooManyRequestsLimitTotalTopics=&errHTTP{42904,http.StatusTooManyRequests,"limit reached: the total number of topics on the server has been reached, please contact the admin","https://ntfy.sh/docs/publish/#limitations"}
errHTTPTooManyRequestsLimitAccountCreation=&errHTTP{42906,http.StatusTooManyRequests,"limit reached: too many accounts created","https://ntfy.sh/docs/publish/#limitations"}// FIXME document limit
errHTTPTooManyRequestsLimitReservations=&errHTTP{42907,http.StatusTooManyRequests,"limit reached: too many topic reservations for this user",""}
errHTTPTooManyRequestsLimitMessages=&errHTTP{42908,http.StatusTooManyRequests,"limit reached: too many messages","https://ntfy.sh/docs/publish/#limitations"}
errHTTPInternalErrorMissingBaseURL=&errHTTP{50003,http.StatusInternalServerError,"internal server error: base-url must be be configured for this feature","https://ntfy.sh/docs/config/"}