Home
last modified time | relevance | path

Searched refs:errorAsJSON (Results 1 – 12 of 12) sorted by relevance

/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/prometheus/vendor/github.com/go-openapi/errors/
H A Dapi.go84 func errorAsJSON(err Error) []byte { func
137 rw.Write(errorAsJSON(e))
143 rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
148 rw.Write(errorAsJSON(e))
152 rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
156 rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/net-mgmt/semaphore/semaphore-2.6.8/vendor/github.com/go-openapi/errors/
H A Dapi.go84 func errorAsJSON(err Error) []byte { func
135 _, _ = rw.Write(errorAsJSON(e))
141 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
146 _, _ = rw.Write(errorAsJSON(e))
150 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
154 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/prometheus/alertmanager/vendor/github.com/go-openapi/errors/
H A Dapi.go84 func errorAsJSON(err Error) []byte { func
135 _, _ = rw.Write(errorAsJSON(e))
141 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
146 _, _ = rw.Write(errorAsJSON(e))
150 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
154 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/prometheus/prometheus/vendor/github.com/go-openapi/errors/
H A Dapi.go84 func errorAsJSON(err Error) []byte { func
135 _, _ = rw.Write(errorAsJSON(e))
141 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
146 _, _ = rw.Write(errorAsJSON(e))
150 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
154 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/go-openapi/errors/
H A Dapi.go84 func errorAsJSON(err Error) []byte { func
135 _, _ = rw.Write(errorAsJSON(e))
141 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
146 _, _ = rw.Write(errorAsJSON(e))
150 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
154 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/github.com/go-openapi/errors/
H A Dapi.go101 func errorAsJSON(err Error) []byte { func
152 _, _ = rw.Write(errorAsJSON(e))
158 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
163 _, _ = rw.Write(errorAsJSON(e))
167 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
171 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/go-openapi/errors/
H A Dapi.go101 func errorAsJSON(err Error) []byte { func
152 _, _ = rw.Write(errorAsJSON(e))
158 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
163 _, _ = rw.Write(errorAsJSON(e))
167 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
171 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/vendor/github.com/go-openapi/errors/
H A Dapi.go101 func errorAsJSON(err Error) []byte { func
152 _, _ = rw.Write(errorAsJSON(e))
158 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
163 _, _ = rw.Write(errorAsJSON(e))
167 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
171 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/go-openapi/errors/
H A Dapi.go101 func errorAsJSON(err Error) []byte { func
152 _, _ = rw.Write(errorAsJSON(e))
158 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
163 _, _ = rw.Write(errorAsJSON(e))
167 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
171 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/www/gitea/gitea-1.16.5/vendor/github.com/go-openapi/errors/
H A Dapi.go101 func errorAsJSON(err Error) []byte { func
152 _, _ = rw.Write(errorAsJSON(e))
158 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
163 _, _ = rw.Write(errorAsJSON(e))
167 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
171 _, _ = rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/go-swagger/go-swagger/vendor/github.com/go-openapi/errors/
H A Dapi.go80 func errorAsJSON(err Error) []byte { func
124 rw.Write(errorAsJSON(e))
129 rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
134 rw.Write(errorAsJSON(e))
139 rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/vendor/github.com/go-openapi/errors/
H A Dapi.go80 func errorAsJSON(err Error) []byte { func
124 rw.Write(errorAsJSON(e))
129 rw.Write(errorAsJSON(New(http.StatusInternalServerError, "Unknown error")))
134 rw.Write(errorAsJSON(e))
139 rw.Write(errorAsJSON(New(http.StatusInternalServerError, err.Error())))