OK my bad, I was forgetting my namespacing!!!
Should have been:
add_filter('acf/upload_prefilter/name=unique_upload_image', '\App\my_acf_upload_prefilter');
However, although this now works, it’s still not displaying the error message I defined, it’s just saying ‘HTTP error’?
Any ideas?
Kev