Can anyone tell me how to pop-up a window when process error?

Hello everyone!
The aim is: when the process is executing, sometimes it will go error, but the error message will not show on the foreground but only blink on the bottom of screen.
So, how can I get something like the pop-up window to tell me the process is error, just like when the process successfully finished, I can use the message box to tell me it is finished.
Thanks in advance!

use try catch to do process ,when catch error, use messagebox in exception

Hello! Thanks a lot.
I tried to use Try Catch activity, but the situation is only blink on the bottom of screen, but there is no pop up window shon on the front of screen. If I am wrong?

You can provide a screenshot of the process?