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

Function NewIssues

cel/env.go:1191–1193  ·  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

1189
1190// NewIssues returns an Issues struct from a common.Errors object.
1191func NewIssues(errs *common.Errors) *Issues {
1192 return NewIssuesWithSourceInfo(errs, nil)
1193}
1194
1195// NewIssuesWithSourceInfo returns an Issues struct from a common.Errors object with SourceInfo metatata
1196// which can be used with the `ReportErrorAtID` method for additional error reports within the context

Callers 5

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

Calls 1

NewIssuesWithSourceInfoFunction · 0.85

Tested by 2

TestIssuesEmptyFunction · 0.68
TestAdaptLiteralFunction · 0.68