App already is using the root store getter applicationStatus to decide ErrorWrapper's visibility. Apply the same logic to the button in the primaryAction slot of the header.
This should automatically unlock a part of T235753: Step 1: Bail-out path for unsupported datatypes (impact: high)