throw errorAt()

in packages/babel-plugin-fbt/src/babel-processors/JSXFbtProcessor.js [180:202]


          throw errorAt(
            node,
            `<${this.moduleName}> does not support JSX spread attribute`,
          );
        }
        return attribute;
      },
    );
    return this._openingElementAttributes;
  }

  _assertHasMandatoryAttributes() {
    if (
      this._getOpeningElementAttributes().find(attribute =>
        FbtCallMustHaveAtLeastOneOfTheseAttributes.includes(
          attribute.name.name,
        ),
      ) == null
    ) {
      throw errorAt(
        this.node,
        `<${this.moduleName}> must have at least ` +
          `one of these attributes: ${FbtCallMustHaveAtLeastOneOfTheseAttributes.join(