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

Function NewIssues

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

1067
1068// NewIssues returns an Issues struct from a common.Errors object.
1069func NewIssues(errs *common.Errors) *Issues {
1070 return NewIssuesWithSourceInfo(errs, nil)
1071}
1072
1073// NewIssuesWithSourceInfo returns an Issues struct from a common.Errors object with SourceInfo metatata
1074// 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