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

Function NewError

vector/error.go:17–19  ·  view source on GitHub ↗

XXX we shouldn't create empty fields... this was the old design, now we create the entire vector structure and page in leaves, offsets, etc on demand

(typ *super.TypeError, vals Any)

Source from the content-addressed store, hash-verified

15// XXX we shouldn't create empty fields... this was the old design, now
16// we create the entire vector structure and page in leaves, offsets, etc on demand
17func NewError(typ *super.TypeError, vals Any) *Error {
18 return &Error{typ, vals}
19}
20
21func (*Error) Kind() Kind {
22 return KindError

Callers 6

projectMethod · 0.92
quietTmpMethod · 0.92
CallMethod · 0.92
CallMethod · 0.92
PickFunction · 0.85
BuildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected