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

Method Call

runtime/vam/expr/function/types.go:195–198  ·  view source on GitHub ↗
(args ...vector.Any)

Source from the content-addressed store, hash-verified

193}
194
195func (e *Error) Call(args ...vector.Any) vector.Any {
196 vec := args[0]
197 return vector.NewError(e.sctx.LookupTypeError(vec.Type()), vec)
198}
199
200type Kind struct {
201 sctx *super.Context

Callers

nothing calls this directly

Calls 3

NewErrorFunction · 0.92
LookupTypeErrorMethod · 0.80
TypeMethod · 0.65

Tested by

no test coverage detected