# Functions

AddDownstreamErrorToResponse adds the error as downstream source to the response if the error already has a source, the existing source will be used Deprecated: Use backend.ErrorResponse instead and set the response directly.
AddErrorToResponse adds the error to the response Deprecated: Use backend.ErrorResponse instead and set the response directly.
AddPluginErrorToResponse adds the error as plugin error source to the response if the error already has a source, the existing source will be used Deprecated: Use backend.ErrorResponse instead.
DownstreamError will apply the source as downstream Deprecated: use backend.DownstreamError instead.
FromStatus returns error source from status Deprecated: Use backend.ErrorSourceFromHTTPStatus instead.
Middleware captures error source metric Deprecated: If you are using sdk httpclient, this is already included in the default middleware.
New creates a new error with the source Deprecated: use backend.NewErrorWithSource instead.
PluginError will apply the source as plugin Deprecated: use backend.PluginError instead.
Response returns an error DataResponse given status, source of the error and message.
RoundTripper returns the error source Deprecated: If you are using sdk httpclient, this is already included in the default middleware.
SourceError returns an error with the source If source is already defined, it will return it, or you can override Deprecated: Use backend.DownstreamError or backend.PluginError instead.

# Type aliases

No description provided by the author