def METHOD_NAME(self):
    if self.settings.os == "Windows":
        raise ConanInvalidConfiguration(
            "Windows builds aren't currently supported. Contributions to support this are welcome."
        )
    if self.settings.os == "Macos":
        # FIXME: This recipe should largely support Macos, however the following
        # errors are present when building using the c3i CI:
        # clang: error: unsupported option '-print-multi-os-directory'
        # clang: error: no input files
        raise ConanInvalidConfiguration(
            "Macos builds aren't currently supported. Contributions to support this are welcome."
        )
    if cross_building(self):
        raise ConanInvalidConfiguration(
            "Cross builds are not current supported. Contributions to support this are welcome"
        )