[web] Factor out getVersionUnsupportedError
Summary:
I want to reuse this message somewhere else, so I'm starting by factoring it out.
Depends on D12055
Test Plan: Flow
Reviewers: ginsu, inka
Reviewed By: ginsu
Subscribers: tomek
Differential Revision: https://phab.comm.dev/D12056