MCPcopy
hub / github.com/OpenNHP/opennhp / Error

Struct Error

nhp/core/errors.go:13–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11var errorMap map[int]*Error = make(map[int]*Error)
12
13type Error struct {
14 num int
15 msg string
16 extraErr error
17 hasExtraErr bool
18}
19
20func (e *Error) SetExtraError(err error) {
21 e.extraErr = err

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected