code: function createActionType(prefix, stage, separator) {
    if (typeof prefix !== 'string' || typeof stage !== 'string') {
      throw new Error('Invalid routine prefix or stage. It should be string.');
    }
    return '' + prefix + separator + stage;
  }
docs: Routine action type factory