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

Function NewIssues

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

1013
1014// NewIssues returns an Issues struct from a common.Errors object.
1015func NewIssues(errs *common.Errors) *Issues {
1016 return NewIssuesWithSourceInfo(errs, nil)
1017}
1018
1019// NewIssuesWithSourceInfo returns an Issues struct from a common.Errors object with SourceInfo metatata
1020// 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