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:
777777 errors :
778778 type : object
779779 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
781784 as :
782785 type : string
783786 title : CatchAs
784787 description : The name of the runtime expression variable to save the error as. Defaults to 'error'.
785788 when :
786789 type : string
787790 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.
789792 exceptWhen :
790793 type : string
791794 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.
793796 retry :
794797 oneOf :
795798 - $ref : ' #/$defs/retryPolicy'
@@ -1152,6 +1155,27 @@ $defs:
11521155 title : ErrorDetails
11531156 description : A human-readable explanation specific to this occurrence of the error.
11541157 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 value should be used for filtering
1173+ title :
1174+ type : string
1175+ description : if not null, means this value should be used for filtering
1176+ details :
1177+ type : string
1178+ description : if not null, means this value should be used for filtering
11551179 uriTemplate :
11561180 title : UriTemplate
11571181 anyOf :
You can’t perform that action at this time.
0 commit comments