Hi Subhan,
Yes it is possible.
You just have to add an exception handler, select the type (in your case All exceptions or Database Exception):

Then use the message widget from the sidebar and define the type of message (in your case Error, default red) and the message:

Hope it helps.
Cheers,
João