MCPcopy
hub / github.com/expr-lang/expr / Error

Method Error

expr_test.go:1678–1680  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1676type divideError struct{ Message string }
1677
1678func (e divideError) Error() string {
1679 return e.Message
1680}
1681
1682func TestConstExpr_error_as_error(t *testing.T) {
1683 env := map[string]any{

Callers 15

TestExpr_errorFunction · 0.45
TestExpr_eval_with_envFunction · 0.45
TestExpr_fetch_from_funcFunction · 0.45
TestAsBool_exposed_errorFunction · 0.45
TestEval_exposed_errorFunction · 0.45
TestIssue138Function · 0.45
TestIssue474Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected