File tree Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Expand file tree Collapse file tree 1 file changed +27
-3
lines changed Original file line number Diff line number Diff line change @@ -777,19 +777,22 @@ $defs:
777
777
errors :
778
778
type : object
779
779
title : CatchErrors
780
- description : The configuration of a concept used to catch errors.
780
+ properties :
781
+ with :
782
+ $ref : ' #/$defs/errorFilter'
783
+ description : static error filter
781
784
as :
782
785
type : string
783
786
title : CatchAs
784
787
description : The name of the runtime expression variable to save the error as. Defaults to 'error'.
785
788
when :
786
789
type : string
787
790
title : CatchWhen
788
- description : A runtime expression used to determine whether or not to catch the filtered error.
791
+ description : A runtime expression used to determine whether to catch the filtered error.
789
792
exceptWhen :
790
793
type : string
791
794
title : CatchExceptWhen
792
- description : A runtime expression used to determine whether or not to catch the filtered error.
795
+ description : A runtime expression used to determine whether not to catch the filtered error.
793
796
retry :
794
797
oneOf :
795
798
- $ref : ' #/$defs/retryPolicy'
@@ -1152,6 +1155,27 @@ $defs:
1152
1155
title : ErrorDetails
1153
1156
description : A human-readable explanation specific to this occurrence of the error.
1154
1157
required : [ type, status ]
1158
+ errorFilter :
1159
+ type : object
1160
+ title : ErrorFilter
1161
+ description : Error filtering base on static values. For error filtering on dynamic values, use catch.when property
1162
+ properties :
1163
+ type :
1164
+ type : string
1165
+ description : if not null, means that value should be used for filtering
1166
+ status :
1167
+ type : integer
1168
+ default : -1
1169
+ description : if different than -1, means this value should be used for filtering
1170
+ instance :
1171
+ type : string
1172
+ description : if not null, means this instance value should be used for filtering
1173
+ title :
1174
+ type : string
1175
+ description : if not null, means that value should be used for filtering
1176
+ details :
1177
+ type : string
1178
+ description : if not null, means that value should be used for filtering
1155
1179
uriTemplate :
1156
1180
title : UriTemplate
1157
1181
anyOf :
You can’t perform that action at this time.
0 commit comments