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

Method appendError

request.go:634–636  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

632}
633
634func (r *Request) appendError(err error) {
635 r.error = errors.Join(r.error, err)
636}
637
638var errRetryableWithUnReplayableBody = errors.New("retryable request should not have unreplayable Body (io.Reader)")
639

Callers 5

SetFileMethod · 0.95
SetFileUploadMethod · 0.95
SetBodyJsonMarshalMethod · 0.95
SetBodyXmlMarshalMethod · 0.95
EnableDumpToFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected