docs: function _treatGlobalErrors(responseJSON, options) {
      options = options || {};
      const allMessagesTypes = options.globalMessages || globalMessages;
      if (responseJSON !== undefined) {
          let globalMessagesContainer = [];
          let messages = responseJSON;
          //Looping through all messages types.
          allMessagesTypes.forEach((globalMessageConf) => {
              //Treat all the globals
              let msgs = messages[globalMessageConf.name];
              if (msgs) {
                  globalMessagesContainer = [...globalMessagesContainer, ...msgs];
                  //To remove
                  _treatGlobalMessagesPerType(msgs, globalMessageConf.type);
              }
          });
          return globalMessagesContainer;
      }
      return null;
  }