function ArgHandler(name) {
    _classCallCheck(this, ArgHandler);

    this._name = name;
    this._cases = [];
  }
Creates a new instance of ArgHandler.
@param {string} name - The method name to use in error messages.