Hi,

We can throw an exception and display a message.

throw new InvalidPluginExecutionException("Message here....");