def __init__(self, actionID, errorType, condition): super(ServerActionError, self).__init__(errorType, condition) self._action = shared_errors.I18nActionID(actionID)
def getMessage(self): return i18n.makeString(I18N_MESSENGER.XMPP_ERROR_ACTION, actionName=shared_errors.I18nActionID( self._actionID).getI18nName())