MCPcopy Create free account
hub / github.com/imroc/req / SetErrorResult

Function SetErrorResult

request_wrapper.go:119–121  ·  view source on GitHub ↗

SetErrorResult is a global wrapper methods which delegated to the default client, create a request and SetErrorResult for request.

(error any)

Source from the content-addressed store, hash-verified

117// SetErrorResult is a global wrapper methods which delegated
118// to the default client, create a request and SetErrorResult for request.
119func SetErrorResult(error any) *Request {
120 return defaultClient.R().SetErrorResult(error)
121}
122
123// SetBearerAuthToken is a global wrapper methods which delegated
124// to the default client, create a request and SetBearerAuthToken for request.

Callers

nothing calls this directly

Calls 2

SetErrorResultMethod · 0.80
RMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…