'Registers an error message to be shown to the user.'

@classmethod
def register_error_message(self, request, message, **kwargs):

    self.register_user_message(request, UserMessageType.ERROR, message, **kwargs)
