Home
last modified time | relevance | path

Searched refs:ErrNotificationsAPI (Results 1 – 2 of 2) sorted by relevance

/dports/net/storj/storj-1.45.3/storagenode/console/consoleapi/
H A Dnotifications.go20 var ErrNotificationsAPI = errs.Class("consoleapi notifications") var
58 notification.serveJSONError(w, http.StatusInternalServerError, ErrNotificationsAPI.Wrap(err))
64 notification.serveJSONError(w, http.StatusInternalServerError, ErrNotificationsAPI.Wrap(err))
70 notification.serveJSONError(w, http.StatusInternalServerError, ErrNotificationsAPI.Wrap(err))
85 notification.serveJSONError(w, http.StatusInternalServerError, ErrNotificationsAPI.Wrap(err))
100 notification.serveJSONError(w, http.StatusBadRequest, ErrNotificationsAPI.Wrap(err))
106 notification.serveJSONError(w, http.StatusBadRequest, ErrNotificationsAPI.Wrap(err))
117 notification.serveJSONError(w, http.StatusInternalServerError, ErrNotificationsAPI.Wrap(err))
123 notification.serveJSONError(w, http.StatusInternalServerError, ErrNotificationsAPI.Wrap(err))
142 …rror("failed to encode json list notifications response", zap.Error(ErrNotificationsAPI.Wrap(err)))
[all …]
H A Dpayouts.go49 payout.serveJSONError(w, http.StatusBadRequest, ErrNotificationsAPI.Wrap(err))
103 payout.serveJSONError(w, http.StatusBadRequest, ErrNotificationsAPI.Wrap(err))
109 payout.serveJSONError(w, http.StatusBadRequest, ErrNotificationsAPI.Wrap(err))
187 payout.serveJSONError(w, http.StatusBadRequest, ErrNotificationsAPI.Wrap(err))