MCPcopy Create free account
hub / github.com/cel-expr/cel-go / NewIssues

Function NewIssues

cel/env.go:979–981  ·  view source on GitHub ↗

NewIssues returns an Issues struct from a common.Errors object.

(errs *common.Errors)

Source from the content-addressed store, hash-verified

977
978// NewIssues returns an Issues struct from a common.Errors object.
979func NewIssues(errs *common.Errors) *Issues {
980 return NewIssuesWithSourceInfo(errs, nil)
981}
982
983// NewIssuesWithSourceInfo returns an Issues struct from a common.Errors object with SourceInfo metatata
984// which can be used with the `ReportErrorAtID` method for additional error reports within the context

Callers 4

ComposeMethod · 0.92
ErrorAsIssuesFunction · 0.85
OptimizeMethod · 0.85
TestIssuesEmptyFunction · 0.85

Calls 1

NewIssuesWithSourceInfoFunction · 0.85

Tested by 1

TestIssuesEmptyFunction · 0.68