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

Function wrapErr

cel/macro.go:369–375  ·  view source on GitHub ↗
(id int64, message string, err error)

Source from the content-addressed store, hash-verified

367}
368
369func wrapErr(id int64, message string, err error) *common.Error {
370 return &common.Error{
371 Location: common.NoLocation,
372 Message: fmt.Sprintf("%s: %v", message, err),
373 ExprID: id,
374 }
375}
376
377type adaptingHelper struct {
378 modernHelper parser.ExprHelper

Callers 2

adaptToExprFunction · 0.85
adaptToProtoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected