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

Method Errors

cel/env.go:1095–1100  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1093
1094// Errors returns the collection of errors encountered in more granular detail.
1095func (i *Issues) Errors() []*Error {
1096 if i == nil {
1097 return []*Error{}
1098 }
1099 return i.errs.GetErrors()
1100}
1101
1102// Append collects the issues from another Issues struct into a new Issues object.
1103func (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