MCPcopy Index your code
hub / github.com/bracesdev/errtrace / err

Method err

tree.go:96–98  ·  view source on GitHub ↗

Records the error if non-nil. Will be returned from WriteTree, ultimately.

(err error)

Source from the content-addressed store, hash-verified

94// Records the error if non-nil.
95// Will be returned from WriteTree, ultimately.
96func (p *treeWriter) err(err error) {
97 p.e = errors.Join(p.e, err)
98}
99
100// writeTree writes the tree to the writer.
101//

Callers 2

writeStringMethod · 0.95
printfMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected