fix: Add error note when attempt is made to destructure error union (#21491)

closes #21417
943176bbfcWill Lillis committed on 9/23/2024, 8:04:24 PM· committed by GitHubparent5096397
2 files changedLine totals unavailable