'Wait for an error notification, with a certain message (if
specified). Dismiss it and return the message.'

def wait_for_error(self, message=None):

    return self.wait_for_notification(u'error', message)
