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

Function SetCommonError

client_wrapper.go:32–34  ·  view source on GitHub ↗

SetCommonError is a global wrapper methods which delegated to the default client's Client.SetCommonErrorResult. Deprecated: Use SetCommonErrorResult instead.

(err any)

Source from the content-addressed store, hash-verified

30//
31// Deprecated: Use SetCommonErrorResult instead.
32func SetCommonError(err any) *Client {
33 return defaultClient.SetCommonErrorResult(err)
34}
35
36// SetCommonErrorResult is a global wrapper methods which delegated
37// to the default client's Client.SetCommonError.

Callers

nothing calls this directly

Calls 1

SetCommonErrorResultMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…