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

Method Errors

cel/env.go:1005–1010  ·  view source on GitHub ↗

Errors returns the collection of errors encountered in more granular detail.

()

Source from the content-addressed store, hash-verified

1003
1004// Errors returns the collection of errors encountered in more granular detail.
1005func (i *Issues) Errors() []*Error {
1006 if i == nil {
1007 return []*Error{}
1008 }
1009 return i.errs.GetErrors()
1010}
1011
1012// Append collects the issues from another Issues struct into a new Issues object.
1013func (i *Issues) Append(other *Issues) *Issues {

Callers 5

ErrMethod · 0.95
TestIssuesNilFunction · 0.95
TestIssuesEmptyFunction · 0.95
TestIssuesAppendSelfFunction · 0.80
TestIssuesFunction · 0.80

Calls 1

GetErrorsMethod · 0.80

Tested by 4

TestIssuesNilFunction · 0.76
TestIssuesEmptyFunction · 0.76
TestIssuesAppendSelfFunction · 0.64
TestIssuesFunction · 0.64