MCPcopy
hub / github.com/duke-git/lancet / copy

Method copy

xerror/xerror.go:71–79  ·  view source on GitHub ↗
(dest *XError)

Source from the content-addressed store, hash-verified

69}
70
71func (e *XError) copy(dest *XError) {
72 dest.message = e.message
73 dest.id = e.id
74 dest.cause = e.cause
75
76 for k, v := range e.values {
77 dest.values[k] = v
78 }
79}
80
81// Error implements standard error interface.
82func (e *XError) Error() string {

Callers 1

WrapMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected