def error(request, message, extra_tags='', fail_silently=False):
    add_message(request, constants.ERROR, message, extra_tags=extra_tags,
                fail_silently=fail_silently)
Adds a message with the ``ERROR`` level.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/messages/api.py/error