Update the example to match the description preceding it, which refers to the use of the error method and ErrorEvent rather than the flush method with a non-2xx status as shown previously. PR Close #22844
Update the example to match the description preceding it, which refers to the use of the error method and ErrorEvent rather than the flush method with a non-2xx status as shown previously. PR Close #22844