File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1061,6 +1061,11 @@ message MyMessage {
1061
1061
> Within the error block, the ` error ` variable can be used as a special variable when evaluating CEL.
1062
1062
> [ A detailed description of this variable is here] ( ./cel.md#error )
1063
1063
1064
+ ## (grpc.federation.message).def.call.error.def
1065
+ ` def ` defines a variable scoped to the entire error block.
1066
+
1067
+ It is important to note that definitions scoped at the top level of the error block will be evaluated before ` error.if ` .
1068
+
1064
1069
## (grpc.federation.message).def.call.error.if
1065
1070
1066
1071
` if ` specifies condition in CEL. If the condition is ` true ` , it returns defined error information.
@@ -1594,4 +1599,4 @@ In summary, it looks like this.
1594
1599
1595
1600
1 . For the response message of rpc, the request message fields are the message arguments.
1596
1601
2 . For other messages, the parameters explicitly passed in ` def.message.args ` option are the message arguments.
1597
- 3 . You can access to the message argument with ` $. ` prefix.
1602
+ 3 . You can access to the message argument with ` $. ` prefix.
You can’t perform that action at this time.
0 commit comments