MCPcopy Create free account
hub / github.com/brimdata/super / Append

Method Append

compiler/srcfiles/error.go:12–14  ·  view source on GitHub ↗

Append appends an Error to e.

(list *List, msg string, pos, end int)

Source from the content-addressed store, hash-verified

10
11// Append appends an Error to e.
12func (e *ErrorList) Append(list *List, msg string, pos, end int) {
13 *e = append(*e, &Error{msg, pos, end, list})
14}
15
16// Bind takes errors that were created elsewhere (e.g., the service) using
17// the list's files and points the errors back at this list.

Callers 1

AddErrorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected