<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _showError(self, msg="", title="Error"):
 """ Shows an error message. """

        self.errorWidget.setError(msg=msg, title=title)