Custom UPM Exception upon App installation possible?

Hi,
is it possible to raise an exception upon app installation (if required) which leads to a custom text displayed in the ui?
I want to be able to display a custom text in this situation:


Why? No need to check the log in a special case.