File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,15 @@ export const [encodeRetryState, decodeRetryState] = makeProtoEnumConverters<
101101 'RETRY_STATE_'
102102) ;
103103
104+ /**
105+ * A category to describe the severity and change the observability behavior of an application failure.
106+ *
107+ * Currently, observability behaviour changes are limited to:
108+ * - activities that fail due to a BENIGN application failure emit DEBUG level logs and do not record metrics
109+ *
110+ * @experimental Category is a new feature and may be subject to change.
111+ */
104112export const ApplicationFailureCategory = {
105- /**
106- * BENIGN category errors emit DEBUG level logs and do not record metrics
107- */
108113 BENIGN : 'BENIGN' ,
109114} as const ;
110115
@@ -288,7 +293,7 @@ export interface ApplicationFailureOptions {
288293
289294 /**
290295 * Severity category of the application error.
291- * Maps to corresponding client -side logging/ metrics behaviors .
296+ * Affects worker -side logging and metrics behavior of this failure .
292297 */
293298 category ?: ApplicationFailureCategory ;
294299}
You can’t perform that action at this time.
0 commit comments