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

Method WriteError

api/queryio/writer.go:80–82  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

78}
79
80func (w *Writer) WriteError(err error) {
81 w.WriteControl(api.QueryError{Error: err.Error()})
82}
83
84func (w *Writer) WriteControl(value any) error {
85 if !w.ctrl {

Callers 1

handleQueryFunction · 0.95

Calls 2

WriteControlMethod · 0.95
ErrorMethod · 0.45

Tested by

no test coverage detected