fi-0210: Invalid location in @discoverable client or server argument {:#fi-0210}

The allowed client or server location for a discoverable protocol must be a (possibly empty) comma separated list of platform and external. In other words one of:

  • ""
  • "platform"
  • "external"
  • "platform,external"
  • "external,platform"

{% include “docs/reference/fidl/language/error-catalog/label/_bad.md” %}

{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/bad/fi-0210.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}

Make sure these arguments are correct:

{% include “docs/reference/fidl/language/error-catalog/label/_good.md” %}

{% includecode gerrit_repo="fuchsia/fuchsia" gerrit_path="tools/fidl/fidlc/tests/fidl/good/fi-0210.test.fidl" exclude_regexp="\/\/ (Copyright 20|Use of|found in).*" %}