'Add an error notification to the queue
title: The title of the notification
message: The message portion of the notification'

def error(self, title, message=u''):

    self._errors.append(Notification(title, message, ERROR))
