Push error messages to the QGIS User Interface from a Python script using the QGIS Python API (PyQGIS). This tutorial will walk you through exactly how to show the user information, warning, error, and success messages directly in the QGIS User Interface.
Visit opensourceoptions.com for more content and courses