Versions in this module Expand all Collapse all v0 v0.188.3 Jan 15, 2024 v0.94.0 Jan 15, 2024 Changes in this version + func AddDownstreamErrorToResponse(refID string, response *backend.QueryDataResponse, err error) *backend.QueryDataResponse + func AddErrorToResponse(refID string, response *backend.QueryDataResponse, err error) *backend.QueryDataResponse + func AddPluginErrorToResponse(refID string, response *backend.QueryDataResponse, err error) *backend.QueryDataResponse + func DownstreamError(err error, override bool) error + func FromStatus(status backend.Status) backend.ErrorSource + func Middleware(plugin string) httpclient.Middleware + func PluginError(err error, override bool) error + func Response(err error) backend.DataResponse + func RoundTripper(_ httpclient.Options, next http.RoundTripper) http.RoundTripper + type Error struct + func New(err error, source backend.ErrorSource, status backend.Status) Error + func SourceError(source backend.ErrorSource, err error, override bool) Error + func (r Error) Error() string + func (r Error) Source() backend.ErrorSource + func (r Error) Unwrap() error